2010-03-01 09:53:31 -05:00
|
|
|
$OpenBSD: patch-dpid_main_c,v 1.4 2010/03/01 14:53:34 benoit Exp $
|
|
|
|
--- dpid/main.c.orig Mon Feb 8 11:59:31 2010
|
|
|
|
+++ dpid/main.c Tue Feb 23 10:32:46 2010
|
|
|
|
@@ -68,7 +68,7 @@
|
2004-02-20 20:37:19 -05:00
|
|
|
}
|
2008-10-19 04:42:55 -04:00
|
|
|
if (pid == 0) {
|
2004-02-20 20:37:19 -05:00
|
|
|
/* Child, start plugin */
|
2010-03-01 09:53:31 -05:00
|
|
|
- if (execl(dpi_attr.path, dpi_attr.path, (char*)NULL) == -1) {
|
2004-02-20 20:37:19 -05:00
|
|
|
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
|
|
|
|
ERRMSG("start_plugin", "execl", errno);
|
2008-10-19 04:42:55 -04:00
|
|
|
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
|
2004-02-20 20:37:19 -05:00
|
|
|
exit(1);
|
2010-03-01 09:53:31 -05:00
|
|
|
@@ -100,7 +100,7 @@
|
2008-10-19 04:42:55 -04:00
|
|
|
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
|
2004-02-20 20:37:19 -05:00
|
|
|
exit(1);
|
|
|
|
}
|
2010-03-01 09:53:31 -05:00
|
|
|
- if (execl(dpi_attr.path, dpi_attr.path, (char*)NULL) == -1) {
|
2004-02-20 20:37:19 -05:00
|
|
|
+ if (execl(dpi_attr.path, dpi_attr.path, (void *)NULL) == -1) {
|
|
|
|
ERRMSG("start_plugin", "execl", errno);
|
2008-10-19 04:42:55 -04:00
|
|
|
MSG_ERR("ERROR in child proc for %s\n", dpi_attr.path);
|
2004-02-20 20:37:19 -05:00
|
|
|
exit(1);
|