summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-11 04:01:09 +0200
committerRay Strode <rstrode@redhat.com>2009-08-11 17:45:41 -0400
commit90ddcd8249e81341ec05fdb508b6768684ce178b (patch)
tree307602230089980e08ea9ee0dfd1d770b2481c0c
parent242971667b66fea86d4cfb5a4d0a396e5a7b5e8b (diff)
when printing size_t use %z format string
-rw-r--r--src/ck-seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ck-seat.c b/src/ck-seat.c
index c2f70da..8edaaeb 100644
--- a/src/ck-seat.c
+++ b/src/ck-seat.c
@@ -1109,7 +1109,7 @@ ck_seat_new_from_file (const char *sid,
device_list = g_key_file_get_string_list (key_file, group, "Devices", &ndevices, NULL);
- g_debug ("Creating seat %s with %d devices", sid, ndevices);
+ g_debug ("Creating seat %s with %zd devices", sid, ndevices);
devices = g_ptr_array_sized_new (ndevices);