Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build failure - port i386 - INSTALL_FLOPPY kernel
On Thu, 16 Oct 2008, Paul Goyette wrote:
Sources updated about 20 minutes ago...
--- kern-INSTALL_FLOPPY ---
cc1: warnings being treated as errors
/build/src/sys/nfs/nfs_bio.c: In function 'nfs_doio_write':
/build/src/sys/nfs/nfs_bio.c:1120: warning: label 'out' defined but not used
*** [nfs_bio.o] Error code 1
1 error
Looks like the only reference to this label is enclosed within
#ifndef NFS_V2_ONLY
...
#endif
so applying the following patch is probably correct:
Index: nfs_bio.c
===================================================================
RCS file: /cvsroot/src/sys/nfs/nfs_bio.c,v
retrieving revision 1.177
diff -u -p -r1.177 nfs_bio.c
--- nfs_bio.c 16 Oct 2008 22:04:22 -0000 1.177
+++ nfs_bio.c 17 Oct 2008 02:17:20 -0000
@@ -1117,7 +1117,9 @@ again:
if (stalewriteverf) {
nfs_clearcommit(vp->v_mount);
}
+#ifndef NFS_V2_ONLY
out:
+#endif
free(pgs, M_TEMP);
return error;
}
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index