summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-12-11 17:47:32 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2016-12-11 17:52:36 +0100
commitc1a7b53073202c67becf4df36cadc32ef4759c8a (patch)
treed89e85ca95622c282c3e1bec7e3a6387eecbd255
parentf94c5ea5938ac8d16e6ad22d878381fb582634c5 (diff)
downloadattr-c1a7b53073202c67becf4df36cadc32ef4759c8a.tar.gz
setfacl: Include errno.h
In file tools/setfattr.c:33:0, gcc -Wcpp complains that including <sys/errno.h> is incorrect and that <errno.h> should be included instead. Reported by Matias A. Fonzo <selk@dragora.org>.
-rw-r--r--tools/setfattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setfattr.c b/tools/setfattr.c
index 6f79d8f..ad8f35d 100644
--- a/tools/setfattr.c
+++ b/tools/setfattr.c
@@ -30,7 +30,7 @@
#include <ctype.h>
#include <libgen.h>
#include <sys/xattr.h>
-#include <sys/errno.h>
+#include <errno.h>
#include "misc.h"