diff options
Diffstat (limited to 'lib/libpm.c')
-rw-r--r-- | lib/libpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index 61a47099..3c2a5f11 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -732,7 +732,7 @@ pm_arg0toprogname(const char arg0[]) { for it. */ static char retval[_MAX_FNAME]; - _splitpath(fullPath, 0, 0, retval, 0); + _splitpath(arg0, 0, 0, retval, 0); if (MAX_RETVAL_SIZE < _MAX_FNAME) retval[MAX_RETVAL_SIZE] = '\0'; #else |