summaryrefslogtreecommitdiff
path: root/src/shared/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/hwclock.c')
-rw-r--r--src/shared/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/hwclock.c b/src/shared/hwclock.c
index 488c30e93f..55b0fa8a0f 100644
--- a/src/shared/hwclock.c
+++ b/src/shared/hwclock.c
@@ -190,7 +190,7 @@ int hwclock_is_localtime(void) {
truncate_nl(line);
local = streq(line, "LOCAL");
- } else if (errno != -ENOENT)
+ } else if (errno != ENOENT)
return -errno;
return local;