diff options
Diffstat (limited to 'isys')
-rw-r--r-- | isys/imount.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/isys/imount.c b/isys/imount.c index e615f70f4..00c92d278 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -44,9 +44,12 @@ int doPwMount(char * dev, char * where, char * fs, int options, void *data) { strcat(buf, dev); } else { #ifndef DISABLE_NETWORK - char * extra_opts = strdup(data); + char * extra_opts = NULL; int flags = 0; + if (data) + strdup(data); + buf = dev; /*logMessage("calling nfsmount(%s, %s, &flags, &extra_opts, &mount_opt)", buf, where);*/ |