mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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 ).
This commit is contained in:
parent
c5a8ae50dd
commit
f7bb75c92a
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue