[PATCH] Compile problems in subr_unit without DIAGNOSTIC

Andre Guibert de Bruet andy at siliconlandmark.com
Thu Sep 30 08:29:50 PDT 2004


Hi,

unhdr is not defined but unrhdr is. Please commit the attached patch.

Regards,
Andy

| Andre Guibert de Bruet | Enterprise Software Consultant >
| Silicon Landmark, LLC. | http://siliconlandmark.com/    >
-------------- next part --------------
Index: subr_unit.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/subr_unit.c,v
retrieving revision 1.1
diff -u -r1.1 subr_unit.c
--- subr_unit.c 30 Sep 2004 07:04:03 -0000      1.1
+++ subr_unit.c 30 Sep 2004 15:25:03 -0000
@@ -162,7 +162,7 @@
 #else

 static __inline void
-check_unrhdr(struct unhdr *uh, int line)
+check_unrhdr(struct unrhdr *uh, int line)
 {

 }



More information about the freebsd-current mailing list