diff options
author | John Kohl <jtkohl@mit.edu> | 1988-06-23 06:28:56 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-06-23 06:28:56 +0000 |
commit | 76a56cff9767ccf9d1e579e808247ef3ad1f5282 (patch) | |
tree | 15a05e875c5e43bf2a739d1f9b15ed3b71c3bb77 /lib/ZInit.c | |
parent | 0a9847711808fbd565b2d1db75525de6e606063f (diff) |
lint fixes
Diffstat (limited to 'lib/ZInit.c')
-rw-r--r-- | lib/ZInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c index f4900eb..d09e18f 100644 --- a/lib/ZInit.c +++ b/lib/ZInit.c @@ -66,9 +66,9 @@ Code_t ZInitialize() if (gethostname(hostname, MAXHOSTNAMELEN)) return (errno); if (hent = gethostbyname(hostname)) - strcpy(__Zephyr_realm, hent->h_name); + (void) strcpy(__Zephyr_realm, hent->h_name); else - strcpy(__Zephyr_realm, hostname); + (void) strcpy(__Zephyr_realm, hostname); #endif /* Get the sender so we can cache it */ |