preproc: Use found path when opening include

It's a typo in 169ac7c152

https://bugzilla.nasm.us/show_bug.cgi?id=3392378

Reported-by: Ryan Prichard <ryan.prichard@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2017-01-06 00:36:23 +03:00
parent a6ccf005a5
commit 4ff8c63ab6

View File

@ -1614,7 +1614,7 @@ static FILE *inc_fopen(const char *file,
}
if (!fp && omode != INC_PROBE)
fp = nasm_open_read(file, fmode);
fp = nasm_open_read(path, fmode);
if (found_path)
*found_path = path;