Module Name:    src
Committed By:   christos
Date:           Sun Nov 13 22:21:29 UTC 2011

Modified Files:
        src/common/lib/libutil: getfstypename.c

Log Message:
the kernel does not have util.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libutil/getfstypename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/lib/libutil/getfstypename.c
diff -u src/common/lib/libutil/getfstypename.c:1.1 src/common/lib/libutil/getfstypename.c:1.2
--- src/common/lib/libutil/getfstypename.c:1.1	Sun Nov 13 16:56:53 2011
+++ src/common/lib/libutil/getfstypename.c	Sun Nov 13 17:21:29 2011
@@ -36,17 +36,19 @@
 #include <sys/cdefs.h>
 #ifndef _KERNEL
 # if !defined(lint)
-__RCSID("$NetBSD: getfstypename.c,v 1.1 2011/11/13 21:56:53 christos Exp $");
+__RCSID("$NetBSD: getfstypename.c,v 1.2 2011/11/13 22:21:29 christos Exp $");
 # endif
 #else
-__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.1 2011/11/13 21:56:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.2 2011/11/13 22:21:29 christos Exp $");
 #endif
 
 #define FSTYPE_ENUMNAME fstype_enum
 #include <sys/types.h>
 #include <sys/disk.h>
 #include <sys/disklabel.h>
+#ifndef _KERNEL
 #include <util.h>
+#endif
 
 const char *
 getfstypename(int fstype)

Reply via email to