chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: when we cannot bus activate a service because we go down, drop one
[elogind.git]
/
src
/
core
/
mount-setup.c
diff --git
a/src/core/mount-setup.c
b/src/core/mount-setup.c
index 73c2698ea3f4b946fb161d35e1217758ba460b03..387030abfd6e7106a382a54e5d03c404e4b31c53 100644
(file)
--- a/
src/core/mount-setup.c
+++ b/
src/core/mount-setup.c
@@
-43,10
+43,7
@@
#include "virt.h"
#include "efivars.h"
#include "smack-util.h"
#include "virt.h"
#include "efivars.h"
#include "smack-util.h"
-
-#ifndef TTY_GID
-#define TTY_GID 5
-#endif
+#include "def.h"
typedef enum MountMode {
MNT_NONE = 0,
typedef enum MountMode {
MNT_NONE = 0,
@@
-188,7
+185,7
@@
static int mount_one(const MountPoint *p, bool relabel) {
p->type,
p->flags,
p->options) < 0) {
p->type,
p->flags,
p->options) < 0) {
- log_full((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %
s", p->where, strerror(errno)
);
+ log_full((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %
m", p->where
);
return (p->mode & MNT_FATAL) ? -errno : 0;
}
return (p->mode & MNT_FATAL) ? -errno : 0;
}