diff options
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 94c24e9..da9c7c5 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -96,6 +96,8 @@ process() size_t len, oldpsl = 0; char *p; + p = NULL; + for (linenum = 0; mf_fgets(&PS, REPLACE);) { pd = 0; top: |