diff options
Diffstat (limited to 'src/journal/test-catalog.c')
-rw-r--r-- | src/journal/test-catalog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-catalog.c b/src/journal/test-catalog.c index c463035891..987867f0c8 100644 --- a/src/journal/test-catalog.c +++ b/src/journal/test-catalog.c @@ -35,7 +35,7 @@ static void test_import(Hashmap *h, struct strbuf *sb, const char* contents, ssize_t size, int code) { int r; char name[] = "/tmp/test-catalog.XXXXXX"; - int _cleanup_close_ fd = mkstemp(name); + _cleanup_close_ int fd = mkstemp(name); assert(fd >= 0); assert_se(write(fd, contents, size) == size); |