diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-07 23:27:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-07 23:27:05 +0000 |
commit | 20aa4e3376bfab66bf23891bceda754fd0f97bf6 (patch) | |
tree | c211024fb11126ebe077a89ad856fa9d4f85cb41 | |
parent | 76fd4e6754ea959eab47e27fa8e2c02ecec41374 (diff) |
indent
-rw-r--r-- | sbin/tunefs/tunefs.c | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 185deaeeda8..e75db7826ab 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tunefs.c,v 1.7 1997/11/06 20:27:16 csapuntz Exp $ */ +/* $OpenBSD: tunefs.c,v 1.8 1997/11/07 23:27:04 deraadt Exp $ */ /* $NetBSD: tunefs.c,v 1.10 1995/03/18 15:01:31 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)tunefs.c 8.2 (Berkeley) 4/19/94"; #else -static char rcsid[] = "$OpenBSD: tunefs.c,v 1.7 1997/11/06 20:27:16 csapuntz Exp $"; +static char rcsid[] = "$OpenBSD: tunefs.c,v 1.8 1997/11/07 23:27:04 deraadt Exp $"; #endif #endif /* not lint */ @@ -190,24 +190,23 @@ again: warnx(OPTWARN, "space", "<", MINFREE); continue; - case 's': - name = "soft updates"; - if (argc < 1) - errx(10, "-s: missing %s", name); - argc--, argv++; - if (strcmp(*argv, "enable") == 0) { - sblock.fs_flags |= FS_DOSOFTDEP; - action = "set"; - } else if (strcmp(*argv, "disable") == 0) { - sblock.fs_flags &= ~FS_DOSOFTDEP; - action = "cleared"; - } else { - errx(10, "bad %s (options are %s)", - name, "`enable' or `disable'"); - } - warnx("%s %s", name, action); - continue; - + case 's': + name = "soft updates"; + if (argc < 1) + errx(10, "-s: missing %s", name); + argc--, argv++; + if (strcmp(*argv, "enable") == 0) { + sblock.fs_flags |= FS_DOSOFTDEP; + action = "set"; + } else if (strcmp(*argv, "disable") == 0) { + sblock.fs_flags &= ~FS_DOSOFTDEP; + action = "cleared"; + } else { + errx(10, "bad %s (options are %s)", + name, "`enable' or `disable'"); + } + warnx("%s %s", name, action); + continue; case 'o': name = "optimization preference"; |