kernel - Cleanup, add assertions in the vnode freeing path
[dragonfly.git] / lib / libcompat / regexp / regerror.c
blobd16e5d8c9dc0805aedc95355d13c07d608f9efc4
1 /* $DragonFly: src/lib/libcompat/regexp/regerror.c,v 1.2 2008/09/30 16:57:04 swildner Exp $ */
3 #include <regexp.h>
4 #include <stdio.h>
6 void
7 regerror(const char *s)
9 #ifdef ERRAVAIL
10 error("regexp: %s", s);
11 #else
13 fprintf(stderr, "regexp(3): %s\n", s);
14 exit(1);
16 return; /* let std. egrep handle errors */
17 #endif
18 /* NOTREACHED */