diff options
author | Arne Juul <arnej@yahoo-inc.com> | 2018-05-14 12:54:00 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahoo-inc.com> | 2018-05-15 09:54:08 +0000 |
commit | 27aba1045144a6bc13399f2ee978046989fb1524 (patch) | |
tree | 83b18e6bc431570a408505ed7680853782966eb0 /vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp | |
parent | 1b23e2014d0402b9d3de71c66304878057aec6e4 (diff) |
cosmetic changes to error messages
* some rewording to make it easier to find the corresponding
documentation.
Diffstat (limited to 'vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp')
-rw-r--r-- | vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp b/vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp index a1387c6519d..057d45e8ef5 100644 --- a/vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp +++ b/vespalib/src/apps/vespa-detect-hostname/detect_hostname.cpp @@ -45,6 +45,7 @@ int main(int, char **) { return 0; } } - fprintf(stderr, "ERROR: failed to detect hostname\n"); + fprintf(stderr, "FATAL: hostname detection failed\n"); + // XXX we should explain why it failed return 1; } |