chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / shared / install-printf.c
index 10b0cf379bcda5ea5c1747b1ef5bc82e53db211d..c44459b4e0fbd73fd7db9d6739fd30571f24985a 100644 (file)
@@ -60,7 +60,7 @@ static char *specifier_instance(char specifier, void *data, void *userdata) {
 static char *specifier_user_name(char specifier, void *data, void *userdata) {
         InstallInfo *i = userdata;
         const char *username;
-        char _cleanup_free_ *tmp = NULL;
+        _cleanup_free_ char *tmp = NULL;
         char *printed = NULL;
 
         assert(i);