summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-18 14:40:13 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-18 14:40:13 +0000
commit4b74e4062db32f5f884d9091d1f2630463c583c4 (patch)
tree6b928befc5ab663ff06e8f3d662aa996ed2a863b /sys/lib/libsa
parentfb353c095a28836b7f0ce4f662e7e15096d8b8f5 (diff)
correct dkcksum return type.
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r--sys/lib/libsa/dkcksum.c2
-rw-r--r--sys/lib/libsa/stand.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/dkcksum.c b/sys/lib/libsa/dkcksum.c
index 75986afebd6..e57e750e57f 100644
--- a/sys/lib/libsa/dkcksum.c
+++ b/sys/lib/libsa/dkcksum.c
@@ -42,7 +42,7 @@
/*
* Compute checksum for disk label.
*/
-int
+u_int
dkcksum(lp)
register struct disklabel *lp;
{
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h
index 9470e7c8c43..afa837f89de 100644
--- a/sys/lib/libsa/stand.h
+++ b/sys/lib/libsa/stand.h
@@ -111,7 +111,7 @@ void *alloc __P((unsigned int));
void free __P((void *, unsigned int));
struct disklabel;
char *getdisklabel __P((const char *, struct disklabel *));
-int dkcksum __P((struct disklabel *));
+u_int dkcksum __P((struct disklabel *));
void printf __P((const char *, ...));
void sprintf __P((char *, const char *, ...));