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).
This commit is contained in:
parent
089d12d762
commit
32f2769800
3
mount.c
3
mount.c
@ -479,7 +479,8 @@ singlemount:
|
|||||||
if (strchr(device, ':') != NULL)
|
if (strchr(device, ':') != NULL)
|
||||||
filesystemType = "nfs";
|
filesystemType = "nfs";
|
||||||
if (strcmp(filesystemType, "nfs") == 0) {
|
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) {
|
if ( rc != 0) {
|
||||||
fatalError("nfsmount failed: %s\n", strerror(errno));
|
fatalError("nfsmount failed: %s\n", strerror(errno));
|
||||||
rc = FALSE;
|
rc = FALSE;
|
||||||
|
@ -479,7 +479,8 @@ singlemount:
|
|||||||
if (strchr(device, ':') != NULL)
|
if (strchr(device, ':') != NULL)
|
||||||
filesystemType = "nfs";
|
filesystemType = "nfs";
|
||||||
if (strcmp(filesystemType, "nfs") == 0) {
|
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) {
|
if ( rc != 0) {
|
||||||
fatalError("nfsmount failed: %s\n", strerror(errno));
|
fatalError("nfsmount failed: %s\n", strerror(errno));
|
||||||
rc = FALSE;
|
rc = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user