aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/disklabel.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-03-19 13:44:57 +0000
committerBruce Evans <bde@FreeBSD.org>1996-03-19 13:44:57 +0000
commitcc0ea3465d0b6a60e7d2d7e3a528366f791051e0 (patch)
tree77eb8793a0c002f1837a4cd65544dd7b79979500 /lib/libc/gen/disklabel.c
parentfc3d6da1193a4f469fa8ac18661a8c1dec3e4be7 (diff)
downloadsrc-cc0ea3465d0b6a60e7d2d7e3a528366f791051e0.tar.gz
src-cc0ea3465d0b6a60e7d2d7e3a528366f791051e0.zip
Updated a type to match Lite2's fixed-width type changes.
Added $Id$. Obtained from: 4.4BSD-Lite2
Notes
Notes: svn path=/head/; revision=14698
Diffstat (limited to 'lib/libc/gen/disklabel.c')
-rw-r--r--lib/libc/gen/disklabel.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c
index 883607beaecc..ac2894e3bd07 100644
--- a/lib/libc/gen/disklabel.c
+++ b/lib/libc/gen/disklabel.c
@@ -32,7 +32,11 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)disklabel.c 8.1 (Berkeley) 6/4/93";
+#if 0
+static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 5/3/95";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/param.h>
@@ -62,7 +66,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;