chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / core / unit-printf.c
index 98274ee35d41fabe3c749d131ba2efb0c965e38f..85a05b872a450889d91a7705e04912ccc5354e41 100644 (file)
@@ -124,7 +124,7 @@ static char *specifier_user_name(char specifier, void *data, void *userdata) {
         ExecContext *c;
         int r;
         const char *username;
-        char _cleanup_free_ *tmp = NULL;
+        _cleanup_free_ char *tmp = NULL;
         uid_t uid;
         char *printed = NULL;