The patch I previously applied from Brian Webb was 2 lines off. Oops.

This commit is contained in:
Mark Whitley 2001-03-14 17:30:44 +00:00
parent 44a9914709
commit 20f61d35de
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)