diff options
-rw-r--r-- | debianutils/which.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c index 8dd20d097..b902b64d8 100644 --- a/debianutils/which.c +++ b/debianutils/which.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
18 | 18 | ||
19 | 19 | ||
20 | static int is_executable_file(const char * const a, struct stat *b) | 20 | static int is_executable_file(char *a, struct stat *b) |
21 | { | 21 | { |
22 | return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode)); | 22 | return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode)); |
23 | } | 23 | } |