aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-06-08 15:59:23 +0200
committerTharre <tharre3@gmail.com>2015-06-08 15:59:23 +0200
commit9ccf44af2bf7618c8b90cdb8ecba18433b70825d (patch)
tree887b55459fac2ee19bb03ace9d54f76aade78e27
parentcbc8fc1ffccabeba1f2e7dc018b9d224e3e3e015 (diff)
downloadredo-9ccf44af2bf7618c8b90cdb8ecba18433b70825d.tar.gz
redo-9ccf44af2bf7618c8b90cdb8ecba18433b70825d.tar.xz
redo-9ccf44af2bf7618c8b90cdb8ecba18433b70825d.zip
Fix error message for unsupported newlines
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
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) {