summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sed/compile.c')
-rw-r--r--usr.bin/sed/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c
index a5416ee..39250a3 100644
--- a/usr.bin/sed/compile.c
+++ b/usr.bin/sed/compile.c
@@ -224,7 +224,7 @@ nonsel: /* Now parse the command */
case NONSEL: /* ! */
p++;
EATSPACE();
- cmd->nonsel = ! cmd->nonsel;
+ cmd->nonsel = 1;
goto nonsel;
case GROUP: /* { */
p++;
OpenPOWER on IntegriCloud