diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-21 16:38:56 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-21 16:38:56 +0000 |
commit | a8b5a1b7407513fb795e4facf3a843d2b4a5767b (patch) | |
tree | 61314abee87c896f4451db7397c5e56451b79e4c /usr.sbin/acpidump/acpi_user.c | |
parent | b7e718c998a175fbefa2656dc922e97a91527f80 (diff) |
remove trailing newlines from err(3) calls; millert@ and matthieu@ ok.
Diffstat (limited to 'usr.sbin/acpidump/acpi_user.c')
-rw-r--r-- | usr.sbin/acpidump/acpi_user.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/acpidump/acpi_user.c b/usr.sbin/acpidump/acpi_user.c index bd924fa4393..14a495d013b 100644 --- a/usr.sbin/acpidump/acpi_user.c +++ b/usr.sbin/acpidump/acpi_user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_user.c,v 1.1 2005/06/02 20:09:39 tholo Exp $ */ +/* $OpenBSD: acpi_user.c,v 1.2 2005/07/21 16:38:55 fgsch Exp $ */ /*- * Copyright (c) 1999 Doug Rabson * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org> @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: acpi_user.c,v 1.1 2005/06/02 20:09:39 tholo Exp $ + * $Id: acpi_user.c,v 1.2 2005/07/21 16:38:55 fgsch Exp $ * $FreeBSD: src/usr.sbin/acpi/acpidump/acpi_user.c,v 1.3 2000/11/08 02:37:00 iwasaki Exp $ */ #ifdef __FreeBSD__ @@ -143,18 +143,18 @@ acpi_load_dsdt(char *dumpfile, u_int8_t **dpp, u_int8_t **endp) struct stat sb; if ((acpi_mem_fd = open(dumpfile, O_RDONLY)) == -1) { - errx(1, "opening %s\n", dumpfile); + errx(1, "opening %s", dumpfile); } LIST_INIT(&maplist); if (fstat(acpi_mem_fd, &sb) == -1) { - errx(1, "fstat %s\n", dumpfile); + errx(1, "fstat %s", dumpfile); } dp = mmap(0, sb.st_size, PROT_READ, MAP_PRIVATE, acpi_mem_fd, 0); if (dp == NULL) { - errx(1, "mmap %s\n", dumpfile); + errx(1, "mmap %s", dumpfile); } if (strncmp(dp, "DSDT", 4) == 0) { |