diff options
author | Murray Stokely <murray@FreeBSD.org> | 2001-09-22 23:17:37 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2001-09-22 23:17:37 +0000 |
commit | 250f214507f4655441bf70e8c071d8865fc4588b (patch) | |
tree | d0e2ff4d919270404ceb8069d20bbe4eef969ad6 /usr.sbin/sysinstall/disks.c | |
parent | d47aa91c6afc513c2b7ccefa0e999eb38a9e02f4 (diff) | |
download | src-250f214507f4655441bf70e8c071d8865fc4588b.tar.gz src-250f214507f4655441bf70e8c071d8865fc4588b.zip |
Silence more warnings.
Notes
Notes:
svn path=/head/; revision=83845
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 3886e0e7e8fa..86599620f603 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -98,7 +98,7 @@ print_chunks(Disk *d, int u) #ifndef PC98 if (d->bios_cyl > 65536 || d->bios_hd > 256 || d->bios_sect >= 64) { dialog_clear_norefresh(); - msgConfirm("WARNING: A geometry of %d/%d/%d for %s is incorrect. Using\n" + msgConfirm("WARNING: A geometry of %lu/%lu/%lu for %s is incorrect. Using\n" "a more likely geometry. If this geometry is incorrect or you\n" "are unsure as to whether or not it's correct, please consult\n" "the Hardware Guide in the Documentation submenu or use the\n" @@ -688,7 +688,7 @@ bootalloc(char *name) if (read(fd, cp, sb.st_size) != sb.st_size) { free(cp); close(fd); - msgDebug("bootalloc: couldn't read %d bytes from %s\n", sb.st_size, buf); + msgDebug("bootalloc: couldn't read %ld bytes from %s\n", (long)sb.st_size, buf); return NULL; } close(fd); |