The patch I previously applied from Brian Webb was 2 lines off. Oops.
This commit is contained in:
parent
44a9914709
commit
20f61d35de
2
mount.c
2
mount.c
@ -440,8 +440,8 @@ extern int mount_main(int argc, char **argv)
|
|||||||
device = strdup(m->mnt_fsname);
|
device = strdup(m->mnt_fsname);
|
||||||
directory = strdup(m->mnt_dir);
|
directory = strdup(m->mnt_dir);
|
||||||
filesystemType = strdup(m->mnt_type);
|
filesystemType = strdup(m->mnt_type);
|
||||||
string_flags = strdup(string_flags);
|
|
||||||
singlemount:
|
singlemount:
|
||||||
|
string_flags = strdup(string_flags);
|
||||||
rc = EXIT_SUCCESS;
|
rc = EXIT_SUCCESS;
|
||||||
#ifdef BB_NFSMOUNT
|
#ifdef BB_NFSMOUNT
|
||||||
if (strchr(device, ':') != NULL)
|
if (strchr(device, ':') != NULL)
|
||||||
|
@ -440,8 +440,8 @@ extern int mount_main(int argc, char **argv)
|
|||||||
device = strdup(m->mnt_fsname);
|
device = strdup(m->mnt_fsname);
|
||||||
directory = strdup(m->mnt_dir);
|
directory = strdup(m->mnt_dir);
|
||||||
filesystemType = strdup(m->mnt_type);
|
filesystemType = strdup(m->mnt_type);
|
||||||
string_flags = strdup(string_flags);
|
|
||||||
singlemount:
|
singlemount:
|
||||||
|
string_flags = strdup(string_flags);
|
||||||
rc = EXIT_SUCCESS;
|
rc = EXIT_SUCCESS;
|
||||||
#ifdef BB_NFSMOUNT
|
#ifdef BB_NFSMOUNT
|
||||||
if (strchr(device, ':') != NULL)
|
if (strchr(device, ':') != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user