summaryrefslogtreecommitdiffstats
path: root/text-utils/ul.c
diff options
context:
space:
mode:
authorBenno Schulenberg2011-08-10 21:10:29 +0200
committerKarel Zak2011-08-15 15:49:42 +0200
commit262aee0b451d67ca7516ccdd49a63c8effacad9c (patch)
tree5aecdb10d9e15e4ed2f76a19a84d5d36f08af36a /text-utils/ul.c
parentul: add -h and -V to the man page; use "file" and lowercase (diff)
downloadkernel-qcow2-util-linux-262aee0b451d67ca7516ccdd49a63c8effacad9c.tar.gz
kernel-qcow2-util-linux-262aee0b451d67ca7516ccdd49a63c8effacad9c.tar.xz
kernel-qcow2-util-linux-262aee0b451d67ca7516ccdd49a63c8effacad9c.zip
ul: remove superfluous return as usage() does not return
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'text-utils/ul.c')
-rw-r--r--text-utils/ul.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c
index a52000b51..6132166d0 100644
--- a/text-utils/ul.c
+++ b/text-utils/ul.c
@@ -192,12 +192,11 @@ int main(int argc, char **argv)
case 'V':
printf(_("%s from %s\n"), program_invocation_short_name,
PACKAGE_STRING);
- return(EXIT_SUCCESS);
+ return EXIT_SUCCESS;
case 'h':
usage(stdout);
default:
usage(stderr);
- return EXIT_FAILURE;
}
setupterm(termtype, STDOUT_FILENO, &ret);
switch (ret) {