summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-29 00:30:34 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-29 00:30:34 +0000
commit49c80c83999e538561de4adc2797235ba1e2557e (patch)
tree8c78de922ee291f74582f6efce670f4e56d48c4c
parentdfd9edb7ce10e6b4c144f29b05e4586606ed41f1 (diff)
Eek, typo in my last commit; noticed by huynh.29@osu.edu
-rw-r--r--usr.sbin/config/exec_ecoff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/config/exec_ecoff.c b/usr.sbin/config/exec_ecoff.c
index 362ea3e12d7..ec5e76cb487 100644
--- a/usr.sbin/config/exec_ecoff.c
+++ b/usr.sbin/config/exec_ecoff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_ecoff.c,v 1.3 2000/09/30 16:06:34 aaron Exp $ */
+/* $OpenBSD: exec_ecoff.c,v 1.4 2000/10/29 00:30:33 aaron Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: exec_ecoff.c,v 1.3 2000/09/30 16:06:34 aaron Exp $";
+static char rcsid[] = "$OpenBSD: exec_ecoff.c,v 1.4 2000/10/29 00:30:33 aaron Exp $";
#endif
#include <err.h>
@@ -101,7 +101,7 @@ ecoff_loadkernel(file)
off_t beg,cur,end;
if ((fd = open(file, O_RDONLY | O_EXLOCK, 0)) < 0)
- err(1, "%s" file);
+ err(1, "%s", file);
if (read(fd, (char *)&ecoff_ex, sizeof(ecoff_ex)) != sizeof(ecoff_ex))
errx(1, "can't read ecoff header");