diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-09 01:08:32 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-09 01:08:32 +0000 |
commit | dfeda80ed72b1f0c40cb2f5f3b71f44a28a4fc2f (patch) | |
tree | 430ec7d035fdcd25b0fb856e2baf623bcd49afd9 /sbin/tunefs | |
parent | 92bca1154cfa35b4210a3146ffbb50bb549a12a8 (diff) |
add braces to correct pledge logic
ok deraadt@
Diffstat (limited to 'sbin/tunefs')
-rw-r--r-- | sbin/tunefs/tunefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 283450b44d7..30991f047bb 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tunefs.c,v 1.39 2015/11/23 19:19:30 deraadt Exp $ */ +/* $OpenBSD: tunefs.c,v 1.40 2015/12/09 01:08:31 jsg Exp $ */ /* $NetBSD: tunefs.c,v 1.33 2005/01/19 20:46:16 xtraeme Exp $ */ /* @@ -147,10 +147,10 @@ main(int argc, char *argv[]) if (argc != 1) usage(); - if (Nflag) + if (Nflag) { if (pledge("stdio rpath disklabel", NULL) == -1) err(1, "pledge"); - else { + } else { if (pledge("stdio rpath wpath disklabel", NULL) == -1) err(1, "pledge"); } |