diff options
author | J William Piggott | 2017-07-24 20:59:07 +0200 |
---|---|---|
committer | J William Piggott | 2017-07-31 22:10:47 +0200 |
commit | b3e8105837505fc9b4637b4e41cca39eecb48ebf (patch) | |
tree | 197f1e1ad7d8dc44609589bc673596d92656a758 /sys-utils/hwclock.h | |
parent | hwclock: remove custom errno string (diff) | |
download | kernel-qcow2-util-linux-b3e8105837505fc9b4637b4e41cca39eecb48ebf.tar.gz kernel-qcow2-util-linux-b3e8105837505fc9b4637b4e41cca39eecb48ebf.tar.xz kernel-qcow2-util-linux-b3e8105837505fc9b4637b4e41cca39eecb48ebf.zip |
hwclock: remove custom errno string
Custom errno messages are unnecessary and problematic for translators.
hwclock --directisa
hwclock: iopl() port access failed: Operation not permitted
hwclock: root privileges may be required
The custom errno message is misleading. We do not know what
the system permissions are set to. The default errno string is
correct, and enough.
Patched:
hwclock --directisa
hwclock: iopl() port access failed: Operation not permitted
root@:~# hwclock --directisa -D
Using direct ISA access to the clock
2017-07-24 14:49:17.782716-0400
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.h')
-rw-r--r-- | sys-utils/hwclock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index a1ef80cee..8843501f3 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -1,7 +1,6 @@ #ifndef HWCLOCK_CLOCK_H #define HWCLOCK_CLOCK_H -#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |