diff options
author | Johan Karlsson <johan@FreeBSD.org> | 2003-04-22 19:57:46 +0000 |
---|---|---|
committer | Johan Karlsson <johan@FreeBSD.org> | 2003-04-22 19:57:46 +0000 |
commit | c0bb08c5edc2f2131ecd6b141e204c42be368cce (patch) | |
tree | 11377b2495344c4dd4f1b5b71dc74a379986fdf5 | |
parent | 828e7683bf4e813b7ed89cdf807e553a2071abc8 (diff) |
Notes
-rw-r--r-- | sbin/atacontrol/Makefile | 1 | ||||
-rw-r--r-- | sbin/atacontrol/atacontrol.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/atacontrol/Makefile b/sbin/atacontrol/Makefile index 95c929891dd5..9881273c2117 100644 --- a/sbin/atacontrol/Makefile +++ b/sbin/atacontrol/Makefile @@ -1,7 +1,6 @@ #$FreeBSD$ PROG= atacontrol -WARNS= 0 MAN= atacontrol.8 .include <bsd.prog.mk> diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c index c55e3994d4dc..d453d2a8bb34 100644 --- a/sbin/atacontrol/atacontrol.c +++ b/sbin/atacontrol/atacontrol.c @@ -34,6 +34,7 @@ #include <err.h> #include <errno.h> #include <fcntl.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -137,7 +138,7 @@ cap_print(struct ata_params *parm) printf("lba48%ssupported ", parm->support.address48 ? " " : " not "); if (lbasize48) - printf("%lld sectors\n", lbasize48); + printf("%ju sectors\n", (uintmax_t)lbasize48); else printf("\n"); |