aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-07-08 05:36:24 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-07-08 05:36:24 +0000
commit05018c64fd2da6d5ba54e087b852952980d5af65 (patch)
tree0407e330070809dbbd912b97bb212d791c503d2d /usr.bin
parenta58b3a6878957406580251923467716a422c7275 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sed/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/misc.c b/usr.bin/sed/misc.c
index dbe7b5d68e0e..e04eae962da8 100644
--- a/usr.bin/sed/misc.c
+++ b/usr.bin/sed/misc.c
@@ -68,7 +68,7 @@ strregerror(errcode, preg)
if (oe != NULL)
free(oe);
- s = regerror(errcode, preg, "", 0);
+ s = regerror(errcode, preg, NULL, 0);
if ((oe = malloc(s)) == NULL)
err(1, "malloc");
(void)regerror(errcode, preg, oe, s);