summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c6
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));