summaryrefslogtreecommitdiff
path: root/src/pacman/query.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-13 17:43:09 -0500
committerDan McGee <dan@archlinux.org>2011-06-13 17:43:11 -0500
commitc5761bfe4121616a19f9a175d28731a60c3c7868 (patch)
treed7d3100caf13cee0ef4ed6f898139dcf7d45c237 /src/pacman/query.c
parentff7ad5fd7376c133bc646c4d69d06019e0b64044 (diff)
Fix all current return(x) usages
A few of these snuck in as of late, some from the table display patches that were using the previous format before we changed it after the 3.5.X major release. Noticed-by: Kerrick Staley <mail@kerrickstaley.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/query.c')
-rw-r--r--src/pacman/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index cf24306c..c12aa91f 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -79,7 +79,7 @@ static int search_path(char **filename, struct stat *bufptr)
fullname = malloc(plen + flen + 2);
if(!fullname) {
free(envpath);
- return(-1);
+ return -1;
}
sprintf(fullname, "%s/%s", path, *filename);