Tests: fix -Wformat compiler warning
Use G_GUINT64_FORMAT to properly format a guint64 type.
This commit is contained in:
@@ -90,7 +90,7 @@ dump_device_and_parent (GUdevDevice *device, guint indent)
|
||||
println (indent, "Path: %s", g_udev_device_get_sysfs_path (device));
|
||||
println (indent, "Driver: %s", g_udev_device_get_driver (device));
|
||||
println (indent, "Action: %s", g_udev_device_get_action (device));
|
||||
println (indent, "Seq Num: %lu", g_udev_device_get_seqnum (device));
|
||||
println (indent, "Seq Num: %" G_GUINT64_FORMAT, g_udev_device_get_seqnum (device));
|
||||
println (indent, "Dev File: %s", g_udev_device_get_device_file (device));
|
||||
println (indent, "-----------");
|
||||
println (indent, "Properties:");
|
||||
|
Reference in New Issue
Block a user