summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sed/main.c')
-rw-r--r--usr.bin/sed/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index e4e426f..e17741f 100644
--- a/usr.bin/sed/main.c
+++ b/usr.bin/sed/main.c
@@ -390,7 +390,7 @@ mf_fgets(SPACE *sp, enum e_spflag spflag)
outfname = tmpfname;
if (!ispan) {
linenum = 0;
- resetranges();
+ resetstate();
}
} else {
outfile = stdout;
OpenPOWER on IntegriCloud