From 32f2769800e5732172bff35fa8ad1c5b0186b99a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 22 Aug 2000 15:35:31 +0000 Subject: [PATCH] From Ken Chalmers : The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT). --- mount.c | 3 ++- util-linux/mount.c | 3 ++- 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: 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; 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: 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; -- 2.25.1