diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2010-10-13 23:29:09 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2010-10-13 23:29:09 +0000 |
commit | 7cfe69417cad6dc797729aaa60dc538aa194e1ba (patch) | |
tree | 21a2e1390b3cbd0e8029830cf4195a75dba0d1e7 /bin/sh/histedit.c | |
parent | bf73d4d28e9706ed7410e64bc2b9e0c4eb55c385 (diff) | |
download | src-7cfe69417cad6dc797729aaa60dc538aa194e1ba.tar.gz src-7cfe69417cad6dc797729aaa60dc538aa194e1ba.zip |
Notes
Diffstat (limited to 'bin/sh/histedit.c')
-rw-r--r-- | bin/sh/histedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c index 7773ad8d5ff2..dab69f1b16b1 100644 --- a/bin/sh/histedit.c +++ b/bin/sh/histedit.c @@ -418,7 +418,7 @@ fc_replace(const char *s, char *p, char *r) } else STPUTC(*s++, dest); } - STACKSTRNUL(dest); + STPUTC('\0', dest); dest = grabstackstr(dest); return (dest); |