summaryrefslogtreecommitdiff
path: root/debianutils
diff options
context:
space:
mode:
Diffstat (limited to 'debianutils')
-rw-r--r--debianutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index 35c21e1..8dd20d0 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -17,7 +17,7 @@
#include <sys/stat.h>
-static int is_executable_file(const char const * a, struct stat *b)
+static int is_executable_file(const char * const a, struct stat *b)
{
return (!access(a,X_OK) && !stat(a, b) && S_ISREG(b->st_mode));
}