chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
errno is positive
[elogind.git]
/
src
/
shared
/
hwclock.c
diff --git
a/src/shared/hwclock.c
b/src/shared/hwclock.c
index 488c30e93f6c8ce04dfb2da451b4c60022b0c9c4..55b0fa8a0f1c855ade2f9ee26bbc141aaf1f6cf2 100644
(file)
--- 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;