summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/disklabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/disklabel.c')
-rw-r--r--lib/libc/gen/disklabel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index cc4c3df..eaefbab 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -32,12 +32,13 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)disklabel.c 8.1 (Berkeley) 6/4/93";
+static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 5/3/95";
#endif /* not lint */
#include <sys/param.h>
#define DKTYPENAMES
#include <sys/disklabel.h>
+#include <ufs/ufs/dinode.h>
#include <ufs/ffs/fs.h>
#include <errno.h>
@@ -62,7 +63,7 @@ getdiskbyname(name)
char *cp, *cq; /* can't be register */
char p, max, psize[3], pbsize[3],
pfsize[3], poffset[3], ptype[3];
- u_long *dx;
+ u_int32_t *dx;
if (cgetent(&buf, db_array, (char *) name) < 0)
return NULL;
OpenPOWER on IntegriCloud