[PATCH 05/11] man2/reboot.2: show BCD dates in hex not decimal

Brian Inglis
2023-02-05T23:59:12Z

[-- Attachment #1: Type: text/plain, Size: 82 bytes --]

---
man2/reboot.2 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0005-man2-reboot.2-show-BCD-dates-in-hex-not-decimal.patch --]
[-- Type: text/x-patch; name="0005-man2-reboot.2-show-BCD-dates-in-hex-not-decimal.patch", Size: 645 bytes --]

diff --git a/man2/reboot.2 b/man2/reboot.2
index fcdc56a93e38..d20fdf31a451 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.)