diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 05:37:37 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 05:37:37 +0000 |
commit | 6d407291a85c950fa545a5200d6a66fb4748d70c (patch) | |
tree | d1473e8d275b065fb3176d5f51d8504f18afaf7d /sys/ufs | |
parent | 19dc26453832cbafa406f981d7c9bc0a442ddb08 (diff) | |
download | FreeBSD-src-6d407291a85c950fa545a5200d6a66fb4748d70c.zip FreeBSD-src-6d407291a85c950fa545a5200d6a66fb4748d70c.tar.gz |
Fix -Wuninitialized warning regarding zero-length var-args ctl element.
( this isn't really an error, but I think it is important to fix the
warning ).
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_disksubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_disksubr.c b/sys/ufs/ufs/ufs_disksubr.c index 8a2de14..33f1d2a 100644 --- a/sys/ufs/ufs/ufs_disksubr.c +++ b/sys/ufs/ufs/ufs_disksubr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94 - * $Id: ufs_disksubr.c,v 1.37 1998/10/16 10:14:21 jkh Exp $ + * $Id: ufs_disksubr.c,v 1.38 1998/10/17 07:49:04 bde Exp $ */ #include <sys/param.h> @@ -371,7 +371,7 @@ diskerr(bp, dname, what, pri, blkdone, lp) daddr_t sn; if (pri != LOG_PRINTF) { - log(pri, ""); + log(pri, "%s", ""); pr = addlog; } else pr = printf; |