diff options
author | Francesco Cosoleto | 2010-06-27 14:24:34 +0200 |
---|---|---|
committer | Karel Zak | 2010-06-30 12:51:35 +0200 |
commit | 51e1424225df2a33705bc60d306f9ab53f2b3d09 (patch) | |
tree | 2687378f47dfeb081438d78f757ac332dd63209a /sys-utils/ipcrm.c | |
parent | ipcs: advise translators a different output format (diff) | |
download | kernel-qcow2-util-linux-51e1424225df2a33705bc60d306f9ab53f2b3d09.tar.gz kernel-qcow2-util-linux-51e1424225df2a33705bc60d306f9ab53f2b3d09.tar.xz kernel-qcow2-util-linux-51e1424225df2a33705bc60d306f9ab53f2b3d09.zip |
ipcrm: remove redundant message in case of invalid option
This leaves getopt() only to print a similar error message on invalid
options.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'sys-utils/ipcrm.c')
-rw-r--r-- | sys-utils/ipcrm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index f07eac826..e8d6ba61f 100644 --- a/sys-utils/ipcrm.c +++ b/sys-utils/ipcrm.c @@ -176,8 +176,6 @@ int main(int argc, char **argv) /* make sure the option is in range */ if (c != 'q' && c != 'm' && c != 's') { - fprintf(stderr, _("%s: illegal option -- %c\n"), - prog, c); usage(prog); error++; return error; |