diff options
Diffstat (limited to 'src/test/test-hostname.c')
-rw-r--r-- | src/test/test-hostname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-hostname.c b/src/test/test-hostname.c index 8c1a60f940..ad4f285619 100644 --- 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; |