diff --git a/src/os-unix.c b/src/os-unix.c index 7e4d3d08..61d4e946 100644 --- a/src/os-unix.c +++ b/src/os-unix.c @@ -485,7 +485,7 @@ char *os_apppath(char *parm) { char *os_apppath(char *parm) { char path[PATH_MAX]; - realpath(param,path); + realpath(parm,path); if(strrchr(path,'/')) { *strrchr(path,'/') = '/0'; }