chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: imply noauto for mount points configured with native mount files
[elogind.git]
/
src
/
auto-serial-getty.c
diff --git
a/src/auto-serial-getty.c
b/src/auto-serial-getty.c
index 7bc2fba8da6fc6d787b8e9db4f9b5fbfdf24afab..355cdfd6a638e862ee5c8710d969b9d382aa9125 100644
(file)
--- a/
src/auto-serial-getty.c
+++ b/
src/auto-serial-getty.c
@@
-59,7
+59,7
@@
static int spawn_getty(DBusConnection *bus, const char *console) {
}
if (!(reply = dbus_connection_send_with_reply_and_block(bus, m, -1, &error))) {
}
if (!(reply = dbus_connection_send_with_reply_and_block(bus, m, -1, &error))) {
- log_error("Failed to start unit: %s",
error.message
);
+ log_error("Failed to start unit: %s",
bus_error_message(&error)
);
goto finish;
}
goto finish;
}
@@
-160,7
+160,7
@@
int main(int argc, char *argv[]) {
log_open();
if (bus_connect(DBUS_BUS_SYSTEM, &bus, NULL, &error) < 0) {
log_open();
if (bus_connect(DBUS_BUS_SYSTEM, &bus, NULL, &error) < 0) {
- log_error("Failed to get D-Bus connection: %s",
error.message
);
+ log_error("Failed to get D-Bus connection: %s",
bus_error_message(&error)
);
goto finish;
}
goto finish;
}