diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-01-06 08:30:23 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-01-06 08:30:23 +0000 |
commit | 33a27cb5468e9be1c8a078b172ec934b2710885f (patch) | |
tree | 3bce33a244e6dbdbdef529d20674030ffd57a868 /sbin | |
parent | 36be7d429732c2b6b1d2930adf274606cff4f0c3 (diff) |
Missing braces in pfctl_load_debug(), pointed out by camield@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 3b6321aa11f..a6dac718f03 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.231 2005/01/05 18:23:10 mcbride Exp $ */ +/* $OpenBSD: pfctl.c,v 1.232 2005/01/06 08:30:22 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1410,9 +1410,10 @@ pfctl_set_debug(struct pfctl *pf, char *d) int pfctl_load_debug(struct pfctl *pf, unsigned int level) { - if (ioctl(pf->dev, DIOCSETDEBUG, &level)) + if (ioctl(pf->dev, DIOCSETDEBUG, &level)) { warnx("DIOCSETDEBUG"); return (1); + } return (0); } |