diff options
Diffstat (limited to 'lr.c')
-rw-r--r-- | lr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lr.c b/lr.c index 00b6454..6467acb 100644 --- a/lr.c +++ b/lr.c @@ -1084,7 +1084,7 @@ fstype(dev_t devid) return result ? (*result)->name : strid(devid); } -static char* +static char * xattr_string(const char *f) { #ifdef __linux__ @@ -1124,7 +1124,9 @@ xattr_string(const char *f) return buf; #else - return ""; // No support for xattrs on this platform. + static char empty[] = ""; + (void) f; + return empty; // No support for xattrs on this platform. #endif } |