diff options
Diffstat (limited to 'lib/sh/pathphys.c')
-rw-r--r-- | lib/sh/pathphys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/pathphys.c b/lib/sh/pathphys.c index cddca483..26016b76 100644 --- a/lib/sh/pathphys.c +++ b/lib/sh/pathphys.c @@ -269,7 +269,7 @@ sh_realpath (pathname, resolved) wd = get_working_directory ("sh_realpath"); if (wd == 0) return ((char *)NULL); - tdir = sh_makepath ((char *)pathname, wd, 0); + tdir = sh_makepath (wd, (char *)pathname, 0); free (wd); } else |