chiark / gitweb /
event: properly disarm timers when we don't need them anymore
[elogind.git] / src / gpt-auto-generator / gpt-auto-generator.c
index b6f6a74a22a387a8b542f72f530cea8fe0b18226..fae4b7112c31801e5d2ef039b92d841b444fc0c9 100644 (file)
@@ -54,7 +54,7 @@
 
 static const char *arg_dest = "/tmp";
 
-define_trivial_cleanup_func(blkid_probe, blkid_free_probe)
+DEFINE_TRIVIAL_CLEANUP_FUNC(blkid_probe, blkid_free_probe);
 #define _cleanup_blkid_freep_probe_ _cleanup_(blkid_free_probep)
 
 static int verify_gpt_partition(const char *node, sd_id128_t *type, unsigned *nr, char **fstype) {