diff options
author | Pavel Roskin | 2000-08-22 15:35:31 +0000 |
---|---|---|
committer | Pavel Roskin | 2000-08-22 15:35:31 +0000 |
commit | 32f2769800e5732172bff35fa8ad1c5b0186b99a (patch) | |
tree | ce36ef9aab3615621fc81b4592d6379f65fde5c6 | |
parent | 089d12d762ddaa9d4be2df1e1ffc21bdfc34902a (diff) | |
download | busybox-32f2769800e5732172bff35fa8ad1c5b0186b99a.zip busybox-32f2769800e5732172bff35fa8ad1c5b0186b99a.tar.gz |
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).
-rw-r--r-- | mount.c | 3 | ||||
-rw-r--r-- | util-linux/mount.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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 fc05747..b4f5746 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; |