diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/getcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/getcap.c b/progs/getcap.c index 7df7f0e..780943d 100644 --- a/progs/getcap.c +++ b/progs/getcap.c @@ -49,7 +49,7 @@ static int do_getcap(const char *fname, const struct stat *stbuf, cap_d = cap_get_file(fname); if (cap_d == NULL) { - if (errno != ENODATA) { + if (errno != ENODATA && errno != ENOTSUP) { fprintf(stderr, "Failed to get capabilities of file '%s' (%s)\n", fname, strerror(errno)); } else if (verbose) { |