Tests: fix -Wformat compiler warning

Use G_GUINT64_FORMAT to properly format a guint64 type.
This commit is contained in:
Yegor Yefremov
2021-09-17 11:14:31 +02:00
parent 57eb239089
commit 4875817f19

View File

@@ -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:");