aboutsummaryrefslogtreecommitdiff
path: root/lib/libsysdecode
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-11-07 17:45:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-11-07 17:45:39 +0000
commit2b6e6d8500f6b62d7565ec3fdb814ba9cd13ce0e (patch)
treef0209e0fdb5569aa5e978652119179aa3bbff050 /lib/libsysdecode
parent530fdf67717866ccaa0adedea1de42aa86b76f08 (diff)
Notes
Diffstat (limited to 'lib/libsysdecode')
-rw-r--r--lib/libsysdecode/flags.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libsysdecode/flags.c b/lib/libsysdecode/flags.c
index 95cc8da462cb..b2fc375513c2 100644
--- a/lib/libsysdecode/flags.c
+++ b/lib/libsysdecode/flags.c
@@ -647,9 +647,11 @@ sysdecode_reboot_howto(FILE *fp, int howto, int *rem)
/*
* RB_AUTOBOOT is special in that its value is zero, but it is
* also an implied argument if a different operation is not
- * requested via RB_HALT, RB_POWERCYCLE, RB_POWEROFF, or RB_REROOT.
+ * requested via RB_HALT, RB_POWERCYCLE, RB_POWEROFF, or
+ * RB_REROOT.
*/
- if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT | RB_POWERCYCLE)) == 0) {
+ if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT |
+ RB_POWERCYCLE)) == 0) {
fputs("RB_AUTOBOOT|", fp);
printed = true;
} else