summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-11-25 18:19:10 -0500
committerDave Reisner <dreisner@archlinux.org>2013-11-25 18:19:49 -0500
commita9bc6d2df16c1d9f8a99d2cc9be2babf62bd173f (patch)
tree3b50e05ae434124c9c1c8cbc7b3864af05e920d0 /src/network/networkd-network.c
parent4ae7885c2c4d89e1149c3fb186a4fe3b49787cc7 (diff)
networkd: use correct printf formatter
uint64_t can be formatted correctly with %ju, rather than casting to unsigned and potentially losing accuracy.
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index dc2af9dd24..eb3ff2316d 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -173,8 +173,8 @@ int network_get(Manager *manager, struct udev_device *device, Network **ret) {
int network_apply(Manager *manager, Network *network, Link *link) {
int r;
- log_info("Network '%s' being applied to link '%u'",
- network->description, (unsigned) link->ifindex);
+ log_info("Network '%s' being applied to link '%ju'",
+ network->description, link->ifindex);
link->network = network;