mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Buf_GetAll wants a pointer as its second argument, not a boolean -
replace FALSE by NULL. Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
53365f4b43
commit
09fdd614d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142807
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user