diff options
author | Tharre <tharre3@gmail.com> | 2017-08-25 18:53:48 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2017-08-25 18:53:48 +0200 |
commit | e93371cf23ada8e64a29ead33b81c00af419ebb5 (patch) | |
tree | a1828c056b6fd8f96abaadd42f9b75b8babf3295 | |
parent | ef859c58eda4fc82600a3e432058989263502f50 (diff) | |
download | redo-e93371cf23ada8e64a29ead33b81c00af419ebb5.tar.gz redo-e93371cf23ada8e64a29ead33b81c00af419ebb5.tar.xz redo-e93371cf23ada8e64a29ead33b81c00af419ebb5.zip |
Fix two small style issues
-rw-r--r-- | src/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c index fdb82b9..e7c88f6 100644 --- a/src/build.c +++ b/src/build.c @@ -417,7 +417,7 @@ static void write_dep_information(dep_info *dep) { char hash[41]; sha1_to_hex(dep->hash, hash); - char *flags = dep->flags & DEP_SOURCE ? "s" : "l"; + char *flags = (dep->flags & DEP_SOURCE) ? "s" : "l"; int magic = atoi(getenv("REDO_MAGIC")); @@ -562,7 +562,7 @@ static int handle_c(dep_info *dep) { free(ctx_prereq.fields[1]); if (outofdate) { - log_info("%s ood: subtarget is ood\n", dep->target); + log_info("%s ood: subtarget(s) ood\n", dep->target); retval = build_target(dep); break; } |