summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/print_numbered_lines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/print_numbered_lines.c b/libbb/print_numbered_lines.c
index 702aed1..9a8a514 100644
--- a/libbb/print_numbered_lines.c
+++ b/libbb/print_numbered_lines.c
@@ -24,6 +24,7 @@ void FAST_FUNC print_numbered_lines(struct number_state *ns, const char *filenam
fputs(ns->empty_str, stdout);
free(line);
}
+ ns->start = N;
fclose(fp);
}