summaryrefslogtreecommitdiff
path: root/libc/regexp/regerror.c
blob: 63864c70a2725e568e6b9e7e572524d9c7f8c25a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
	error("regexp: %s", s);
#else
	fprintf(stderr, "regexp(3): %s", s);
	exit(1);
#endif
	/* NOTREACHED */
}