summaryrefslogtreecommitdiffhomepage
path: root/system-dummy.c
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2017-06-25 17:18:06 -0700
committerHans Dedecker <dedeckeh@gmail.com>2017-06-26 21:27:46 +0200
commitd397e8ca5dd492a1fac2e186e2a8b91ac8e463df (patch)
treee6401f7ec1d50df70680e922696eb972b8f33f19 /system-dummy.c
parentef5f7a09a202ba6c3d2021af0b36ee32a18f680f (diff)
netifd: Fix printf calls + function declarations.
cppcheck found printf functions with signed instead of unsigned formats. Fix those as well as some non-matching function declarations. Signed-off by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-dummy.c b/system-dummy.c
index 165438c..11c8ccc 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -134,7 +134,7 @@ static int system_address_msg(struct device *dev, struct device_addr *addr, cons
char ipaddr[64];
int af = system_get_addr_family(addr->flags);
- D(SYSTEM, "ifconfig %s %s %s/%d\n",
+ D(SYSTEM, "ifconfig %s %s %s/%u\n",
dev->ifname, type, inet_ntop(af, &addr->addr.in, ipaddr, sizeof(ipaddr)),
addr->mask);