diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-05-05 11:00:25 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-05-05 11:00:25 +0200 |
commit | 7d10ab8bb1447e5848052bd59e25225e772c4457 (patch) | |
tree | 344eb7eca018fd7f8014935ccc2d9134850a15c9 /shutdown | |
parent | 2e90bcdbf1a7c758f13d110833d58d1eecf6dec3 (diff) | |
download | hurd-7d10ab8bb1447e5848052bd59e25225e772c4457.tar.gz hurd-7d10ab8bb1447e5848052bd59e25225e772c4457.tar.bz2 hurd-7d10ab8bb1447e5848052bd59e25225e772c4457.zip |
shutdown: Use fprintf instead of mach_print
* shutdown/acpi_shutdown.c (disappear_via_acpi): Use fprintf instead of
mach_print.
Diffstat (limited to 'shutdown')
-rw-r--r-- | shutdown/acpi_shutdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shutdown/acpi_shutdown.c b/shutdown/acpi_shutdown.c index a45b2e74..fde70111 100644 --- a/shutdown/acpi_shutdown.c +++ b/shutdown/acpi_shutdown.c @@ -38,11 +38,11 @@ void disappear_via_acpi(void) /* Get I/O permissions */ if (ioperm(smi_cmd, 2, 1)) { - mach_print("EPERM on ioperm(smi_cmd)\n"); + fprintf(stderr, "EPERM on ioperm(smi_cmd)\n"); return; } if (ioperm(pm1a_ctl, 2, 1)) { - mach_print("EPERM on ioperm(pm1a_ctl)\n"); + fprintf(stderr, "EPERM on ioperm(pm1a_ctl)\n"); return; } |