From 93990f444f7f9c258a2f0f7b374460abbb5b4551 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 23 Feb 2013 21:16:13 +0000 Subject: Fix revision 1839 git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1854 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpm.c') 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 -- cgit 1.4.1