From 9882a4dc09edc9a0734b7f5ba5bb4aa4117e5081 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 24 Dec 2012 16:57:30 +0100 Subject: [PATCH] fix formatting in get_process_filename.c --- libi3/get_process_filename.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libi3/get_process_filename.c b/libi3/get_process_filename.c index 0a653870..630e3d1c 100644 --- a/libi3/get_process_filename.c +++ b/libi3/get_process_filename.c @@ -32,8 +32,8 @@ char *get_process_filename(const char *prefix) { char *tmp; sasprintf(&tmp, "%s/i3", dir); dir = tmp; - struct stat buf; - if (stat(dir, &buf) != 0) { + struct stat buf; + if (stat(dir, &buf) != 0) { if (mkdir(dir, 0700) == -1) { perror("mkdir()"); return NULL; -- 2.39.5