From dfeda80ed72b1f0c40cb2f5f3b71f44a28a4fc2f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 9 Dec 2015 01:08:32 +0000 Subject: add braces to correct pledge logic ok deraadt@ --- sbin/tunefs/tunefs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') 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"); } -- cgit v1.2.3