diff options
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r-- | usr.bin/fstat/fstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 8adbd6d2706..84a0d7a733d 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.26 2000/01/17 16:26:19 itojun Exp $ */ +/* $OpenBSD: fstat.c,v 1.27 2000/06/30 16:00:14 millert Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -41,7 +41,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)fstat.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$OpenBSD: fstat.c,v 1.26 2000/01/17 16:26:19 itojun Exp $"; +static char *rcsid = "$OpenBSD: fstat.c,v 1.27 2000/06/30 16:00:14 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1018,7 +1018,7 @@ getfname(filename) DEVS *cur; if (stat(filename, &statbuf)) { - warn(filename); + warn("%s", filename); return(0); } if ((cur = malloc(sizeof(DEVS))) == NULL) |