From 9ccf44af2bf7618c8b90cdb8ecba18433b70825d Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 8 Jun 2015 15:59:23 +0200 Subject: Fix error message for unsupported newlines --- src/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.c b/src/build.c index c3d983f..8192ebe 100644 --- a/src/build.c +++ b/src/build.c @@ -339,7 +339,7 @@ void add_dep(const char *target, const char *parent, int ident) { char *dep_path = get_dep_path(parent); if (strchr(target, '\n')) - fatal("Newlines in targets are not supported."); + die("redo: newlines in targets are not supported\n"); int fd = open(dep_path, O_WRONLY | O_APPEND); if (fd < 0) { -- cgit v1.2.3-70-g09d2