diff options
Diffstat (limited to 'build/names.c')
-rw-r--r-- | build/names.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/names.c b/build/names.c index da2787ac5..03e08dc0d 100644 --- a/build/names.c +++ b/build/names.c @@ -126,7 +126,7 @@ const char *const buildHost(void) struct hostent *hbn; if (! gotit) { - gethostname(hostname, sizeof(hostname)); + (void) gethostname(hostname, sizeof(hostname)); if ((hbn = /*@-unrecog@*/ gethostbyname(hostname) /*@=unrecog@*/ )) strcpy(hostname, hbn->h_name); else |