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/bootchart/bootchart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bootchart') diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index 158f8a908c..99ffb86c87 100644 --- a/src/bootchart/bootchart.c +++ b/src/bootchart/bootchart.c @@ -272,7 +272,7 @@ static void do_journal_append(char *file) { ssize_t n; _cleanup_free_ char *bootchart_file = NULL, *bootchart_message = NULL, *p = NULL; - _cleanup_close_ fd = -1; + _cleanup_close_ int fd = -1; bootchart_file = strappend("BOOTCHART_FILE=", file); if (bootchart_file) -- cgit v1.2.3-54-g00ecf