summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2015-01-06 11:55:21 +0100
committerKarel Zak2015-01-06 11:55:21 +0100
commit17bf9c1c39b4f35163ec5c443b8bbd5857386ddd (patch)
tree450e225edc4baa14050794bdd726d56b6ccd0b49
parentipc*: use customary fputs() instead of fprintf() with the usage macros (diff)
downloadkernel-qcow2-util-linux-17bf9c1c39b4f35163ec5c443b8bbd5857386ddd.tar.gz
kernel-qcow2-util-linux-17bf9c1c39b4f35163ec5c443b8bbd5857386ddd.tar.xz
kernel-qcow2-util-linux-17bf9c1c39b4f35163ec5c443b8bbd5857386ddd.zip
ipcrm: fix usage
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--sys-utils/ipcrm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index 85de05a17..4b59217a6 100644
--- a/sys-utils/ipcrm.c
+++ b/sys-utils/ipcrm.c
@@ -47,8 +47,8 @@ static int verbose = 0;
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
fputs(USAGE_HEADER, out);
- fprintf(out, _(" %s [options]\n"
- " %s shm|msg|sem <id>...\n"), program_invocation_short_name);
+ fprintf(out, _(" %1$s [options]\n"
+ " %1$s shm|msg|sem <id>...\n"), program_invocation_short_name);
fputs(USAGE_SEPARATOR, out);
fputs(_("Remove certain IPC resources.\n"), out);