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 fc057473fb8b6890066ec9d4b891844daeaea7c6..b4f5746bc69b42976dbbb54ec1a7a6f808a938df 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 fc057473fb8b6890066ec9d4b891844daeaea7c6..b4f5746bc69b42976dbbb54ec1a7a6f808a938df 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;