diff options
author | dzwdz | 2023-08-30 00:03:43 +0200 |
---|---|---|
committer | dzwdz | 2023-08-30 00:03:43 +0200 |
commit | cf7877737ff5032f8bad59d57b048f66c4813b5b (patch) | |
tree | ec9c66772331594c30b34062a2cb0f72719d6f6e /src/cmd/netstack/udp.c | |
parent | f71af249cfb9ca9eb0832cc46437b2c5cb7bb217 (diff) |
style: get rid of eprintf
Diffstat (limited to 'src/cmd/netstack/udp.c')
-rw-r--r-- | src/cmd/netstack/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/netstack/udp.c b/src/cmd/netstack/udp.c index 3d560ae..285af41 100644 --- a/src/cmd/netstack/udp.c +++ b/src/cmd/netstack/udp.c @@ -1,5 +1,6 @@ #include "proto.h" #include "util.h" +#include <err.h> enum { SrcPort = 0, @@ -55,7 +56,7 @@ struct udp_conn *udpc_new( c->rport = u.dst; if (arpcache_get(c->rip, &c->rmac) < 0) { // TODO make arp request, wait for reply - eprintf("not in ARP cache, unimplemented"); + warnx("IP not in ARP cache, unimplemented"); free(c); return NULL; } |