summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sleep.c b/src/sleep.c
index e24c2512..788601be 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -1,5 +1,5 @@
/* sleep - delay for a specified amount of time.
- Copyright (C) 1984-2014 Free Software Foundation, Inc.
+ Copyright (C) 1984-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -54,7 +54,7 @@ specified by the sum of their values.\n\
program_name, program_name);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- emit_ancillary_info ();
+ emit_ancillary_info (PROGRAM_NAME);
}
exit (status);
}
@@ -145,5 +145,5 @@ main (int argc, char **argv)
if (xnanosleep (seconds))
error (EXIT_FAILURE, errno, _("cannot read realtime clock"));
- exit (EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}