]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - lib/libcompat/regexp/regerror.c
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / lib / libcompat / regexp / regerror.c
1 #include <regexp.h>
2 #include <stdio.h>
3
4 void
5 regerror(s)
6 const char *s;
7 {
8 #ifdef ERRAVAIL
9         error("regexp: %s", s);
10 #else
11 /*
12         fprintf(stderr, "regexp(3): %s\n", s);
13         exit(1);
14 */
15         return;   /* let std. egrep handle errors */
16 #endif
17         /* NOTREACHED */
18 }