diff options
author | 2011-03-12 19:40:34 +0000 | |
---|---|---|
committer | 2011-03-12 19:40:34 +0000 | |
commit | bb4ecb080b97ef370dde9df7291630e11e10faf8 (patch) | |
tree | e7856de67b31c0cdcd3e1f970973ceef788eb088 | |
parent | mtop uses int, not daddr_t, for count. (diff) | |
download | wireguard-openbsd-bb4ecb080b97ef370dde9df7291630e11e10faf8.tar.xz wireguard-openbsd-bb4ecb080b97ef370dde9df7291630e11e10faf8.zip |
incorrect parameters to warn()
-rw-r--r-- | sys/arch/sparc/stand/installboot/installboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/stand/installboot/installboot.c b/sys/arch/sparc/stand/installboot/installboot.c index abd88570b0e..da5632f81e6 100644 --- a/sys/arch/sparc/stand/installboot/installboot.c +++ b/sys/arch/sparc/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.5 2010/11/19 18:11:21 deraadt Exp $ */ +/* $OpenBSD: installboot.c,v 1.6 2011/03/12 19:40:34 deraadt Exp $ */ /* $NetBSD: installboot.c,v 1.1 1997/06/01 03:39:45 mrg Exp $ */ /* @@ -239,7 +239,7 @@ loadprotoblocks(fname, size) return NULL; } if (statbuf.st_size == 0) { - warn(1, "%s is empty", fname); + warn("%s is empty", fname); close(fd); return NULL; } |