chiark / gitweb /
util: the chattr flags field is actually unsigned, judging by kernel sources
[elogind.git] / src / shared / util.h
index 850019ab9d46e45a61c771519078bd750bab7a2a..e58a17a825b4db2a93b9e1f4d1711ad8dcb0e192 100644 (file)
@@ -1074,7 +1074,7 @@ int fd_getcrtime_at(int dirfd, const char *name, usec_t *usec, int flags);
 
 int same_fd(int a, int b);
 
-int chattr_fd(int fd, bool b, int mask);
-int chattr_path(const char *p, bool b, int mask);
+int chattr_fd(int fd, bool b, unsigned mask);
+int chattr_path(const char *p, bool b, unsigned mask);
 
 #define RLIMIT_MAKE_CONST(lim) ((struct rlimit) { lim, lim })