From 0c900704e7e9ad6732baf0e61b6817d76fc01fed Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Tue, 10 Mar 2015 05:25:28 +0100 Subject: Add type specifier for int --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/util.c b/src/shared/util.c index a13819e79a..b90e10ffb2 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -2592,7 +2592,7 @@ char* dirname_malloc(const char *path) { int dev_urandom(void *p, size_t n) { static int have_syscall = -1; - _cleanup_close_ fd = -1; + _cleanup_close_ int fd = -1; int r; /* Gathers some randomness from the kernel. This call will -- cgit v1.2.3-54-g00ecf