summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipsk/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/search.c b/Build/source/texk/dvipsk/search.c
index be5e1ab35e8..ec37f8b3e5e 100644
--- a/Build/source/texk/dvipsk/search.c
+++ b/Build/source/texk/dvipsk/search.c
@@ -164,7 +164,7 @@ search(kpse_file_format_type format, const char *file, const char *mode)
ret = popen (cmd, "r");
if (dd(D_FILES)) {
fprintf(stderr, "popen(%s) %s\n", cmd,
- popen == NULL ? "failed" : "succeeded");
+ ret == NULL ? "failed" : "succeeded");
}
SET_BINARY(fileno(ret));
to_close = USE_PCLOSE;