22 lines
961 B
Plaintext
22 lines
961 B
Plaintext
$OpenBSD: patch-dpid_main_c,v 1.2 2004/12/04 20:44:27 couderc Exp $
|
|
--- dpid/main.c.orig Fri May 21 16:13:49 2004
|
|
+++ dpid/main.c Wed Aug 18 17:47:53 2004
|
|
@@ -67,7 +67,7 @@ int start_filter_plugin(struct dp dpi_at
|
|
}
|
|
if ( pid == 0) {
|
|
/* Child, start plugin */
|
|
- if (execl(dpi_attr.path, dpi_attr.path, NULL) == -1) {
|
|
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
|
|
ERRMSG("start_plugin", "execl", errno);
|
|
fprintf(stderr, "ERROR in child proc for %s\n", dpi_attr.path);
|
|
exit(1);
|
|
@@ -99,7 +99,7 @@ void start_server_plugin(struct dp dpi_a
|
|
fprintf(stderr, "ERROR in child proc for %s\n", dpi_attr.path);
|
|
exit(1);
|
|
}
|
|
- if (execl(dpi_attr.path, dpi_attr.path, NULL) == -1) {
|
|
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
|
|
ERRMSG("start_plugin", "execl", errno);
|
|
fprintf(stderr, "ERROR in child proc for %s\n", dpi_attr.path);
|
|
exit(1);
|