From Ken Chalmers <chalmers@norscan.com>:

The current CVS mount.c is missing a semicolon, causing building to fail
if NFS is enabled (#define BB_NFSMOUNT).
This commit is contained in:
Pavel Roskin 2000-08-22 15:35:31 +00:00
parent 089d12d762
commit 32f2769800
2 changed files with 4 additions and 2 deletions

View File

@ -479,7 +479,8 @@ singlemount:
if (strchr(device, ':') != NULL)
filesystemType = "nfs";
if (strcmp(filesystemType, "nfs") == 0) {
rc = nfsmount (device, directory, &flags, &extra_opts, &string_flags, 1)
rc = nfsmount (device, directory, &flags,
&extra_opts, &string_flags, 1);
if ( rc != 0) {
fatalError("nfsmount failed: %s\n", strerror(errno));
rc = FALSE;

View File

@ -479,7 +479,8 @@ singlemount:
if (strchr(device, ':') != NULL)
filesystemType = "nfs";
if (strcmp(filesystemType, "nfs") == 0) {
rc = nfsmount (device, directory, &flags, &extra_opts, &string_flags, 1)
rc = nfsmount (device, directory, &flags,
&extra_opts, &string_flags, 1);
if ( rc != 0) {
fatalError("nfsmount failed: %s\n", strerror(errno));
rc = FALSE;