summaryrefslogtreecommitdiff
path: root/src/label.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-25 01:47:31 +0100
commitc904f64d84db8c4eebedf210ba10893f19ba05ed (patch)
tree4c3d73acb9c6aa32d073107b8dd262a8c48a4334 /src/label.h
parent8e20e31a65ec9e637abf3821087946e9160001ac (diff)
label: udev might be making changes in /dev while we iterate through it
Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169
Diffstat (limited to 'src/label.h')
-rw-r--r--src/label.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/label.h b/src/label.h
index f1bf5d6d5e..7ea11cdc55 100644
--- a/src/label.h
+++ b/src/label.h
@@ -23,11 +23,12 @@
***/
#include <sys/types.h>
+#include <stdbool.h>
int label_init(void);
void label_finish(void);
-int label_fix(const char *path);
+int label_fix(const char *path, bool ignore_enoent);
int label_socket_set(const char *label);
void label_socket_clear(void);