summaryrefslogtreecommitdiffstats
path: root/textproc/sed_inplace/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sed_inplace/src/misc.c')
-rw-r--r--textproc/sed_inplace/src/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/sed_inplace/src/misc.c b/textproc/sed_inplace/src/misc.c
index 1119add..47cd015 100644
--- a/textproc/sed_inplace/src/misc.c
+++ b/textproc/sed_inplace/src/misc.c
@@ -36,6 +36,7 @@
*/
#include <sys/cdefs.h>
+__FBSDID("$FreeBSD: /tmp/pcvs/ports/textproc/sed_inplace/src/Attic/misc.c,v 1.3 2002-10-19 10:32:36 sobomax Exp $");
#ifndef lint
static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
@@ -67,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);
OpenPOWER on IntegriCloud