diff options
author | Dan McGee <dan@archlinux.org> | 2007-02-09 17:58:19 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-02-09 17:58:19 +0000 |
commit | 79d18c2617b6562bf7c3cce162ebf5b92bee9aca (patch) | |
tree | 5f8893b5f0060db3c3a1dd96ce4f0be7dfa8d2e3 /src | |
parent | 7f1e75edf1abf3245512f59c464bd4618d042032 (diff) | |
download | pacman-79d18c2617b6562bf7c3cce162ebf5b92bee9aca.tar.xz |
* Remove "error: " text from ERR() call since it is appended by ERR anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 99248346..bd48a895 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -296,7 +296,7 @@ static int parseargs(int argc, char *argv[]) case 2: logmask |= PM_LOG_DOWNLOAD; /*fall through */ case 1: logmask |= PM_LOG_DEBUG; break; default: - ERR(NL, _("error: '%s' is not a valid debug level"), optarg); + ERR(NL, _("'%s' is not a valid debug level"), optarg); return(1); } printf("logmask = %d\n", logmask); @@ -332,7 +332,7 @@ static int parseargs(int argc, char *argv[]) break; case 'b': if(stat(optarg, &st) == -1 || !S_ISDIR(st.st_mode)) { - ERR(NL, _("error: '%s' is not a valid db path\n"), optarg); + ERR(NL, _("'%s' is not a valid db path\n"), optarg); return(1); } alpm_option_set_dbpath(optarg); @@ -362,7 +362,7 @@ static int parseargs(int argc, char *argv[]) break; case 'r': if(realpath(optarg, root) == NULL) { - ERR(NL, _("error: '%s' is not a valid root path\n"), optarg); + ERR(NL, _("'%s' is not a valid root path\n"), optarg); return(1); } alpm_option_set_root(strdup(root)); |