diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stdbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdbuf.c b/src/stdbuf.c index 6fd803c95..0e2006b92 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -354,7 +354,7 @@ main (int argc, char **argv) /* Try to preload libstdbuf first from the same path as stdbuf is running from. */ - set_program_path (argv[0]); + set_program_path (program_name); if (!program_path) program_path = xstrdup (PKGLIBDIR); /* Need to init to non NULL. */ set_LD_PRELOAD (); |