diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2009-05-05 12:24:20 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2009-05-05 12:24:20 +0000 |
commit | bfad4bde7ce2e35762ab0fbf0d1179ad9b84561f (patch) | |
tree | 070612d488276891ca90612a17a0b62c85f17ff2 /sbin/disklabel | |
parent | 1786401e8f50be8c092311f9d86cbe23db67ee95 (diff) |
use logical or when it's intended to be a logical or; ok krw@
Diffstat (limited to 'sbin/disklabel')
-rw-r--r-- | sbin/disklabel/disklabel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 36eabd82977..0fb27fa4803 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.152 2009/04/30 00:45:00 krw Exp $ */ +/* $OpenBSD: disklabel.c,v 1.153 2009/05/05 12:24:19 otto Exp $ */ /* * Copyright (c) 1987, 1993 @@ -39,7 +39,7 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.152 2009/04/30 00:45:00 krw Exp $"; +static const char rcsid[] = "$OpenBSD: disklabel.c,v 1.153 2009/05/05 12:24:19 otto Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -235,7 +235,7 @@ main(int argc, char *argv[]) op = READ; #endif - if (argc < 1 || (fstabfile && !(op == EDITOR | aflag))) + if (argc < 1 || (fstabfile && !(op == EDITOR || aflag))) usage(); dkname = argv[0]; |