diff options
-rw-r--r-- | src/nice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nice.c b/src/nice.c index 1dcb3a3cb..13033ec5e 100644 --- a/src/nice.c +++ b/src/nice.c @@ -123,7 +123,7 @@ main (int argc, char **argv) char **fake_argv = argv + (i - 1); /* Ensure that any getopt diagnostics use the right name. */ - fake_argv[0] = (char *) program_name; + fake_argv[0] = argv[0]; /* Initialize getopt_long's internal state. */ optind = 0; |