diff options
Diffstat (limited to 'debianutils/which.c')
-rw-r--r-- | debianutils/which.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/debianutils/which.c b/debianutils/which.c index 0b0a6a645..9b10b62f9 100644 --- a/debianutils/which.c +++ b/debianutils/which.c | |||
@@ -67,10 +67,9 @@ int which_main(int argc UNUSED_PARAM, char **argv) | |||
67 | /* If file contains a slash don't use PATH */ | 67 | /* If file contains a slash don't use PATH */ |
68 | if (strchr(*argv, '/') || (ENABLE_PLATFORM_MINGW32 && strchr(*argv, '\\'))) { | 68 | if (strchr(*argv, '/') || (ENABLE_PLATFORM_MINGW32 && strchr(*argv, '\\'))) { |
69 | #if ENABLE_PLATFORM_MINGW32 | 69 | #if ENABLE_PLATFORM_MINGW32 |
70 | if ((p=add_win32_extension(*argv)) != NULL) { | 70 | if ((p=auto_win32_extension(*argv)) != NULL) { |
71 | missing = 0; | 71 | missing = 0; |
72 | puts(p); | 72 | puts(p); |
73 | free(p); | ||
74 | } | 73 | } |
75 | else | 74 | else |
76 | #endif | 75 | #endif |