diff options
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/findmnt.c | 2 | ||||
-rw-r--r-- | misc-utils/logger.c | 2 | ||||
-rw-r--r-- | misc-utils/lsblk.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index f7d9ca873..75099d94d 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -156,7 +156,7 @@ static inline size_t err_columns_index(size_t arysz, size_t idx) { if (idx >= arysz) errx(EXIT_FAILURE, _("too many columns specified, " - "the limit is %zu columns."), + "the limit is %zu columns"), arysz - 1); return idx; } diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 7b10df86a..4836b8f6e 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -438,7 +438,7 @@ static void logger_open(struct logger_ctl *ctl) if (ctl->syslogfp == syslog_rfc5424 || ctl->syslogfp == syslog_rfc3164) errx(EXIT_FAILURE, _("--server or --socket are required to " - "log by --rfc5424 or --rfc3164.")); + "log by --rfc5424 or --rfc3164")); openlog(ctl->tag ? ctl->tag : xgetlogin(), ctl->logflags, 0); ctl->syslogfp = syslog_local; diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 9a41afaab..dc1cf69d0 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -206,7 +206,7 @@ static inline size_t err_columns_index(size_t arysz, size_t idx) { if (idx >= arysz) errx(EXIT_FAILURE, _("too many columns specified, " - "the limit is %zu columns."), + "the limit is %zu columns"), arysz - 1); return idx; } @@ -1708,7 +1708,7 @@ int main(int argc, char *argv[]) excludes[nexcludes++] = 1; /* default: ignore RAM disks */ if (lsblk->sort_id >= 0 && column_id_to_number(lsblk->sort_id) < 0) - errx(EXIT_FAILURE, _("the sort column has to be between output columns.")); + errx(EXIT_FAILURE, _("the sort column has to be among the output columns")); mnt_init_debug(0); scols_init_debug(0); |