From 568ea33a21cd52b7b74fb0a3cda82630826c7bf1 Mon Sep 17 00:00:00 2001
From: Julian Rother <julianr@fsmpi.rwth-aachen.de>
Date: Mon, 27 Nov 2017 10:17:33 +0100
Subject: [PATCH] Fixed overwrite_check

---
 util/overwrite_check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/overwrite_check.c b/util/overwrite_check.c
index 9dcbf9f..9842c32 100644
--- a/util/overwrite_check.c
+++ b/util/overwrite_check.c
@@ -9,6 +9,6 @@ void overwrite_check(char *path)
 	if (stat(path, &s) || !s.st_size)
 		return; /* We can overwrite non-existing or empty files */
 	if (s.st_uid != getuid())
-		job_failed("Refusing to overwrite output file \"%s\": File was not created by worker");
+		job_failed("Refusing to overwrite output file \"%s\": File was not created by worker", path);
 }
 
-- 
GitLab