summaryrefslogtreecommitdiff
path: root/sys-utils
diff options
context:
space:
mode:
authorFrancesco Cosoleto <cosoleto@gmail.com>2010-06-27 14:24:34 +0200
committerKarel Zak <kzak@redhat.com>2010-06-30 12:51:35 +0200
commit51e1424225df2a33705bc60d306f9ab53f2b3d09 (patch)
tree2687378f47dfeb081438d78f757ac332dd63209a /sys-utils
parent4163ab187d26cbe7887dfabf8724c887de94e244 (diff)
downloadutil-linux-old-51e1424225df2a33705bc60d306f9ab53f2b3d09.tar.gz
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')
-rw-r--r--sys-utils/ipcrm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index f07eac82..e8d6ba61 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;