summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-19 13:44:57 +0000
committerbde <bde@FreeBSD.org>1996-03-19 13:44:57 +0000
commit00289fe415d6d1b1a4477371ed1f2f90a8fa9943 (patch)
tree77eb8793a0c002f1837a4cd65544dd7b79979500 /lib
parentd255413e70e61f46ade3d2d4f75f6522063e17ab (diff)
downloadFreeBSD-src-00289fe415d6d1b1a4477371ed1f2f90a8fa9943.zip
FreeBSD-src-00289fe415d6d1b1a4477371ed1f2f90a8fa9943.tar.gz
Updated a type to match Lite2's fixed-width type changes.
Added $Id$. Obtained from: 4.4BSD-Lite2
Diffstat (limited to 'lib')
-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 883607b..ac2894e 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;
OpenPOWER on IntegriCloud