diff options
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ int daemon(int nochdir, int noclose) { #ifndef HAVE_BASENAME -char *basename(char *path) { +char *basename(const char *path) { char *foo = strrchr(path, '/'); return ++foo; |