diff options
| author | 2016-03-01 20:51:05 +0000 | |
|---|---|---|
| committer | 2016-03-01 20:51:05 +0000 | |
| commit | 6e2bb670cb53bca2bcf0d2beca1276e6eb7c6e90 (patch) | |
| tree | 78c2630e27554a96d70be79b167a193e7c61c242 /usr.sbin/rtadvd/timer.c | |
| parent | KNF this file; OK stsp@ (diff) | |
| download | wireguard-openbsd-6e2bb670cb53bca2bcf0d2beca1276e6eb7c6e90.tar.xz wireguard-openbsd-6e2bb670cb53bca2bcf0d2beca1276e6eb7c6e90.zip | |
fatal("malloc") -> fatal(NULL)
Diffstat (limited to 'usr.sbin/rtadvd/timer.c')
| -rw-r--r-- | usr.sbin/rtadvd/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/timer.c b/usr.sbin/rtadvd/timer.c index 548da1985e3..58bf0da8a15 100644 --- a/usr.sbin/rtadvd/timer.c +++ b/usr.sbin/rtadvd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.15 2016/02/08 23:19:00 jca Exp $ */ +/* $OpenBSD: timer.c,v 1.16 2016/03/01 20:51:05 jca Exp $ */ /* $KAME: timer.c,v 1.7 2002/05/21 14:26:55 itojun Exp $ */ /* @@ -49,7 +49,7 @@ rtadvd_add_timer(void (*timeout)(void *), struct rtadvd_timer *newtimer; if ((newtimer = calloc(1, sizeof(*newtimer))) == NULL) - fatal("calloc"); + fatal(NULL); if (timeout == NULL) fatalx("timeout function unspecified"); |
