X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbootchart%2Fbootchart.c;h=99ffb86c8730ee09b9662b5b69a8869e7b2a388a;hb=0c900704e7e9ad6732baf0e61b6817d76fc01fed;hp=158f8a908c053adf3eb5564c5151693b821f9fb7;hpb=6c767d1e1a1815fbd4d2b196fb92a0d85cfde5b2;p=elogind.git diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index 158f8a908..99ffb86c8 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)