projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128c40d
)
fix kill() call, thanks to Andreas Hofmeister
author
Paul Mackerras
<paulus@samba.org>
Thu, 22 Feb 2001 03:11:47 +0000
(
03:11
+0000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 22 Feb 2001 03:11:47 +0000
(
03:11
+0000)
pppd/multilink.c
patch
|
blob
|
history
diff --git
a/pppd/multilink.c
b/pppd/multilink.c
index 23f0fa084962a4ffb7baa345919f58b9b2ab6068..cb6bd106d1061e72d081741cfc4c134a06200df6 100644
(file)
--- a/
pppd/multilink.c
+++ b/
pppd/multilink.c
@@
-49,7
+49,7
@@
static int owns_unit __P((TDB_DATA pid, int unit));
|| ((addr) & 0xfff00000) == 0xac100000 /* 172.16.x.x */ \
|| ((addr) & 0xffff0000) == 0xc0a80000) /* 192.168.x.x */
-#define process_exists(n) (kill(
0, (n)
) == 0 || errno != ESRCH)
+#define process_exists(n) (kill(
(n), 0
) == 0 || errno != ESRCH)
void
mp_check_options()