summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Inglis <Brian.Inglis@Shaw.ca>2023-02-08 13:27:27 -0700
committerAlejandro Colomar <alx@kernel.org>2023-02-08 22:14:09 +0100
commitcc8efe8ee63ee3a04b79f4c1edeac1a92104391a (patch)
treec31a3cf93422b45592982c5cfd351a6bd997ba18
parent3c2a33058b997975e977531cb299b5c0ad067239 (diff)
reboot.2: Show BCD dates in hex not decimal
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/reboot.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/reboot.2 b/man2/reboot.2
index 401e62fce..6fed0a076 100644
--- a/man2/reboot.2
+++ b/man2/reboot.2
@@ -51,16 +51,16 @@ equals
.I magic2
equals
.B LINUX_REBOOT_MAGIC2
-(that is, 672274793).
+(that is, 0x28121969).
However, since Linux 2.1.17 also
.B LINUX_REBOOT_MAGIC2A
-(that is, 85072278)
+(that is, 0x05121996)
and since Linux 2.1.97 also
.B LINUX_REBOOT_MAGIC2B
-(that is, 369367448)
+(that is, 0x16041998)
and since Linux 2.5.71 also
.B LINUX_REBOOT_MAGIC2C
-(that is, 537993216)
+(that is, 0x20112000)
are permitted as values for
.IR magic2 .
(The hexadecimal values of these constants are meaningful.)