summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *, ...));