From Ken Chalmers <chalmers@norscan.com>:
authorPavel Roskin <proski@gnu.org>
Tue, 22 Aug 2000 15:35:31 +0000 (15:35 -0000)
committerPavel Roskin <proski@gnu.org>
Tue, 22 Aug 2000 15:35:31 +0000 (15:35 -0000)
The current CVS mount.c is missing a semicolon, causing building to fail
if NFS is enabled (#define BB_NFSMOUNT).

mount.c
util-linux/mount.c

diff --git a/mount.c b/mount.c
index fc05747..b4f5746 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -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;
index fc05747..b4f5746 100644 (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;