From: Kay Sievers Date: Fri, 7 Nov 2008 01:58:54 +0000 (+0100) Subject: fix size_t compiler warning on 32 bit platforms X-Git-Tag: 174~1336 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e230e966f44c0ebb4954cbd30740384e14c1ca0f;p=systemd fix size_t compiler warning on 32 bit platforms --- diff --git a/udev/udev-rules.c b/udev/udev-rules.c index c718ff04..47133528 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1710,7 +1710,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names) rules->buf_max = rules->buf_cur; } } - info(udev, "shrunk to %lu bytes tokens (%u * %zu bytes), %zu bytes buffer\n", + info(udev, "shrunk to %zu bytes tokens (%u * %zu bytes), %zu bytes buffer\n", rules->token_max * sizeof(struct token), rules->token_max, sizeof(struct token), rules->buf_max); /* cleanup uid/gid cache */