chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared: fix format string for usec_t type
[elogind.git]
/
src
/
test
/
test-hostname.c
diff --git
a/src/test/test-hostname.c
b/src/test/test-hostname.c
index 8c1a60f94078cb3d124c207db53d520eee5875bb..ad4f2856190878cc120b10b276e37ba61abd8dd0 100644
(file)
--- a/
src/test/test-hostname.c
+++ b/
src/test/test-hostname.c
@@
-30,7
+30,8
@@
int main(int argc, char* argv[]) {
int r;
- if ((r = hostname_setup()) < 0)
+ r = hostname_setup();
+ if (r < 0)
fprintf(stderr, "hostname: %s\n", strerror(-r));
return 0;