summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sleep.c b/src/sleep.c
index 5ae704517..4176977f0 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -35,9 +35,6 @@
proper_name ("Jim Meyering"), \
proper_name ("Paul Eggert")
-/* The name by which this program was run. */
-char const *program_name;
-
void
usage (int status)
{
@@ -107,7 +104,7 @@ main (int argc, char **argv)
bool ok = true;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);