chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955baa8
)
Prep v230: Return 'no' when asked whether we can reboot into firmware setup. elogind...
author
Sven Eden
<yamakuzure@gmx.net>
Thu, 8 Jun 2017 06:30:23 +0000
(08:30 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000
(10:12 +0200)
src/login/logind-dbus.c
patch
|
blob
|
history
diff --git
a/src/login/logind-dbus.c
b/src/login/logind-dbus.c
index 44fe5e507937acb72c11ed6309267ab66b6faf72..a6bce0de02b94ad18aedc0e1591739470c99aca3 100644
(file)
--- a/
src/login/logind-dbus.c
+++ b/
src/login/logind-dbus.c
@@
-2346,7
+2346,7
@@
static int property_get_reboot_to_firmware_setup(
return sd_bus_message_append(reply, "b", r > 0);
#else
- return sd_bus_message_append(reply, "b",
-EOPNOTSUPP
);
+ return sd_bus_message_append(reply, "b",
false
);
#endif // 0
}
@@
-2426,7
+2426,7
@@
static int method_can_reboot_to_firmware_setup(
return sd_bus_reply_method_return(message, "s", result);
#else
- return sd_bus_reply_method_return(message, "s", "n
a
");
+ return sd_bus_reply_method_return(message, "s", "n
o
");
#endif // 0
}