summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-28 17:05:26 +0000
committerharti <harti@FreeBSD.org>2005-02-28 17:05:26 +0000
commit6e3e336d4e8eeab836e05129e5d14567f1b6b9f0 (patch)
tree34d84a09affdb94b7992b2e6a8bae2e032a772a4
parentada215ee45ea4cbfd97e252c7cd0a2f69cdee02a (diff)
downloadFreeBSD-src-6e3e336d4e8eeab836e05129e5d14567f1b6b9f0.zip
FreeBSD-src-6e3e336d4e8eeab836e05129e5d14567f1b6b9f0.tar.gz
Buf_GetAll wants a pointer as its second argument, not a boolean -
replace FALSE by NULL. Submitted by: Max Okumoto <okumoto@ucsd.edu>
-rw-r--r--usr.bin/make/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 6e50b15..44b4f3a 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -909,7 +909,7 @@ main(int argc, char **argv)
sprintf(v, "${%s}", name);
buf = Var_Subst(NULL, v, VAR_GLOBAL, FALSE);
- value = Buf_GetAll(buf, FALSE);
+ value = Buf_GetAll(buf, NULL);
printf("%s\n", value);
Buf_Destroy(buf, TRUE);
OpenPOWER on IntegriCloud