Adapt to daddr_t being bumped to 64 bits. This required us to add
div/mod quad operations to libsa, and adjusting a pair of format specifiers.
This commit is contained in:
parent
ccc6315386
commit
369a9dc367
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: installboot.c,v 1.15 2002/08/09 10:08:13 soren Exp $ */
|
||||
/* $NetBSD: installboot.c,v 1.16 2003/04/01 13:31:24 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Waldi Ravens
|
||||
@ -300,8 +300,8 @@ install_sd (devnm, label)
|
||||
if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea))
|
||||
err(EXIT_FAILURE, "%s", devnm);
|
||||
if (verbose)
|
||||
printf("Boot block installed on %s (%u)\n", devnm,
|
||||
bbsec);
|
||||
printf("Boot block installed on %s (%llu)\n", devnm,
|
||||
bbsec);
|
||||
if (xxb00t) {
|
||||
if (lseek(fd, (off_t)0, SEEK_SET) != 0)
|
||||
err(EXIT_FAILURE, "%s", devnm);
|
||||
@ -369,8 +369,8 @@ install_wd (devnm, label)
|
||||
if (write(fd, &bootarea, sizeof(bootarea)) != sizeof(bootarea))
|
||||
err(EXIT_FAILURE, "%s", devnm);
|
||||
if (verbose)
|
||||
printf("Boot block installed on %s (%u)\n", devnm,
|
||||
bbsec);
|
||||
printf("Boot block installed on %s (%llu)\n", devnm,
|
||||
bbsec);
|
||||
if (xxb00t) {
|
||||
if (lseek(fd, (off_t)0, SEEK_SET) != 0)
|
||||
err(EXIT_FAILURE, "%s", devnm);
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.17 2002/05/05 17:11:41 jdolecek Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2003/04/01 13:31:23 he Exp $
|
||||
|
||||
LIB= sa
|
||||
|
||||
@ -21,7 +21,8 @@ INCL= -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
|
||||
SRCS= consio.S diskio.c
|
||||
|
||||
# from lib/libkern
|
||||
SRCS+= ashldi3.c ashrdi3.c bzero.c strcmp.c strlen.c
|
||||
SRCS+= ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c \
|
||||
bzero.c strcmp.c strlen.c
|
||||
|
||||
# stand routines
|
||||
SRCS+= alloc.c bcopy.c exec.c files.c getfile.c gets.c globals.c panic.c \
|
||||
|
Loading…
Reference in New Issue
Block a user