diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-04-06 13:10:44 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-04-06 13:10:44 +0000 |
commit | af99c54746da90cb1b5325999189814f825c0a55 (patch) | |
tree | 5caf97fbc4ccba47c4bda0b9c63c68f83dc46f6e /sys | |
parent | d723936a78e4d321a5a340a949fa29e4b86f8226 (diff) |
Fix logic botch I introduced with r1.123 which effectively disabled
the '-c' and '-d` commands.
With the removal of 'rflag' (logically making it always false), (a ||
(rflag && cflag + dflag) || b) should be (a || b), not (a || (cflag +
dflag) || b).
This fixes 'disklabel -w -d <disk>' as used in the install scripts.
Reported by Peter Kun on misc@. Thanks!
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions