diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2004-12-16 16:14:16 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2004-12-16 16:14:16 +0000 |
| commit | 1d614caea7ecb5640fea14644156fe3dd7bec022 (patch) | |
| tree | fdf4034c35002c2f5a941b3dae513d763e63ce80 /usr.bin/make/cond.c | |
| parent | 9f459ecb9f262fbdb4c627dbd1e9de32468471d9 (diff) | |
Notes
Diffstat (limited to 'usr.bin/make/cond.c')
| -rw-r--r-- | usr.bin/make/cond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index dad3869f11c6..ad70a3e1eff2 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -332,7 +332,7 @@ CondDoMake(int argLen, char *arg) Boolean result; arg[argLen] = '\0'; - if (Lst_Find(create, arg, CondStrMatch) == NULL) { + if (Lst_Find(&create, arg, CondStrMatch) == NULL) { result = FALSE; } else { result = TRUE; @@ -362,7 +362,7 @@ CondDoExists(int argLen, char *arg) char *path; arg[argLen] = '\0'; - path = Dir_FindFile(arg, dirSearchPath); + path = Dir_FindFile(arg, &dirSearchPath); if (path != NULL) { result = TRUE; free(path); |
