sys-utils: fix typos
PATCH 2/4 sys-utils: fix typos
From: Davidlohr Bueso <[email protected]>
Signed-off-by Davidlohr Bueso <[email protected]>
--- sys-utils/cytune.c | 2 +- sys-utils/ipcrm.c | 4 ++-- sys-utils/swapon.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
sys-utils/cytune.c +1 -1
@@ -137,7 +137,7 @@ static void summary(int sig) } cc = &cmon[cmon_index];if (cc->threshold_value >0 && sig !=-1 ) { -warnx (_ ("File %s, For threshold value %lu and timrout value %lu, Maximum characters in fifo were %d,\n" +warnx (_ ("File %s, For threshold value %lu and timeout value %lu, Maximum characters in fifo were %d,\n" "and the maximum transfer rate in characters/second was %f" ), argv[cmon_index + local_optind], cc->threshold_value, cc->timeout_value, cc->maxmax, cc->maxtran);
sys-utils/ipcrm.c +2 -2
@@ -53,8 +53,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)fputs (_ (" -M, --shmem-key <key> remove shared memory segment by key\n" ), out);fputs (_ (" -q, --queue-id <id> remove message queue by id\n" ), out);fputs (_ (" -Q, --queue-key <key> remove message queue by key\n" ), out); -fputs (_ (" -s, --semaphore-id <id> remove semaprhore by id\n" ), out); -fputs (_ (" -S, --semaphore-key <key> remove semaprhore by key\n" ), out); +fputs (_ (" -s, --semaphore-id <id> remove semaphore by id\n" ), out); +fputs (_ (" -S, --semaphore-key <key> remove semaphore by key\n" ), out);fputs (_ (" -a, --all[=<shm|msg|sem>] remove all\n" ), out);fputs (_ (" -v, --verbose explain what is being done\n" ), out);fprintf (out,USAGE_SEPARATOR );
sys-utils/swapon.c +1 -1
@@ -120,7 +120,7 @@ swapon_usage(FILE *out, int n) {" -e, --ifexists silently skip devices that do not exis\n" " -f, --fixpgsz reinitialize the swap space if necessary\n" " -h, --help display help and exit\n" -" -p, --priority <prio> specify the priority of the swap device.\n" +" -p, --priority <prio> specify the priority of the swap device\n" " -s, --summary display summary about used swap devices and exit\n" " -v, --verbose verbose mode\n" " -V, --version display version and exit\n"), out);
Signature · 1 line
1.7.4.1
sys-utils/cytune.c static void summary(int sig) · line 140
Quoted 3 lines · Davidlohr Bueso
sys-utils/cytune.c +1
-1- warnx(_("File %s, For threshold value %lu and timrout value %lu, Maximum characters in fifo were %d,\n" + warnx(_("File %s, For threshold value %lu and timeout value %lu, Maximum characters in fifo were %d,\n"
why "Maximum" upper-case?
Berny
Quoted 4 lines · Davidlohr Bueso
sys-utils/cytune.c | 2 +- sys-utils/ipcrm.c | 4 ++-- sys-utils/swapon.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com