diff options
Diffstat (limited to 'desktop/unx/source/pagein.c')
-rwxr-xr-x | desktop/unx/source/pagein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/pagein.c b/desktop/unx/source/pagein.c index 90392b790881..1e3f34889474 100755 --- a/desktop/unx/source/pagein.c +++ b/desktop/unx/source/pagein.c @@ -108,8 +108,8 @@ int pagein_execute (int argc, char **argv) if ((argv[i][0] == '@') && ((fp = fopen (argv[i], "r")) == 0)) { char fullpath[4096]; + char *path = NULL; memset(fullpath, 0, sizeof(fullpath)); - char *path; strncpy (fullpath, argv[i] + 1, 3000); if (!(path = strrchr (fullpath, '/'))) path = fullpath; |