aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-08-22 15:35:31 +0000
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-08-22 15:35:31 +0000
commit92438653e94caeb41815e726bb30e87d01ba4f52 (patch)
treece36ef9aab3615621fc81b4592d6379f65fde5c6
parentb47e8bfbb6ccb813bb610ee441be0f4b3877daa2 (diff)
downloadbusybox-w32-92438653e94caeb41815e726bb30e87d01ba4f52.tar.gz
busybox-w32-92438653e94caeb41815e726bb30e87d01ba4f52.tar.bz2
busybox-w32-92438653e94caeb41815e726bb30e87d01ba4f52.zip
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). git-svn-id: svn://busybox.net/trunk/busybox@979 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--mount.c3
-rw-r--r--util-linux/mount.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mount.c b/mount.c
index fc057473f..b4f5746bc 100644
--- a/mount.c
+++ b/mount.c
@@ -479,7 +479,8 @@ singlemount:
479 if (strchr(device, ':') != NULL) 479 if (strchr(device, ':') != NULL)
480 filesystemType = "nfs"; 480 filesystemType = "nfs";
481 if (strcmp(filesystemType, "nfs") == 0) { 481 if (strcmp(filesystemType, "nfs") == 0) {
482 rc = nfsmount (device, directory, &flags, &extra_opts, &string_flags, 1) 482 rc = nfsmount (device, directory, &flags,
483 &extra_opts, &string_flags, 1);
483 if ( rc != 0) { 484 if ( rc != 0) {
484 fatalError("nfsmount failed: %s\n", strerror(errno)); 485 fatalError("nfsmount failed: %s\n", strerror(errno));
485 rc = FALSE; 486 rc = FALSE;
diff --git a/util-linux/mount.c b/util-linux/mount.c
index fc057473f..b4f5746bc 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -479,7 +479,8 @@ singlemount:
479 if (strchr(device, ':') != NULL) 479 if (strchr(device, ':') != NULL)
480 filesystemType = "nfs"; 480 filesystemType = "nfs";
481 if (strcmp(filesystemType, "nfs") == 0) { 481 if (strcmp(filesystemType, "nfs") == 0) {
482 rc = nfsmount (device, directory, &flags, &extra_opts, &string_flags, 1) 482 rc = nfsmount (device, directory, &flags,
483 &extra_opts, &string_flags, 1);
483 if ( rc != 0) { 484 if ( rc != 0) {
484 fatalError("nfsmount failed: %s\n", strerror(errno)); 485 fatalError("nfsmount failed: %s\n", strerror(errno));
485 rc = FALSE; 486 rc = FALSE;