summaryrefslogtreecommitdiff
path: root/serverboot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-03 03:40:27 +0000
committerRoland McGrath <roland@gnu.org>1999-06-03 03:40:27 +0000
commitd8d751edd3e55f59d751c366fd87e03a7841a3c5 (patch)
treec4d07bd33e26eaff11142ea4ca9333116a339bcd /serverboot
parent508a14186fbd2fac67c2a0d22e569ee0b160b9a6 (diff)
1999-06-03 Mark Kettenis <kettenis@gnu.org>
* default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'.
Diffstat (limited to 'serverboot')
-rw-r--r--serverboot/default_pager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c
index 09bff076..bfce88b1 100644
--- a/serverboot/default_pager.c
+++ b/serverboot/default_pager.c
@@ -228,7 +228,8 @@ new_partition (const char *name, struct file_direct *fdp,
/* The partition's first page has a Linux swap signature.
This means the beginning of the page contains a bitmap
of good pages, and all others are bad. */
- unsigned int i, j, bad, waste, max;
+ unsigned int i, j, bad, max;
+ int waste;
printf("(default pager): Found Linux 2.0 swap signature in %s\n",
name);