diff options
author | Richard Basch <probe@mit.edu> | 1994-04-12 11:06:17 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1994-04-12 11:06:17 +0000 |
commit | f228c915d0d5650d17aaf687ae61f26119149b7a (patch) | |
tree | bab3a8970f448971c12312623a86a015f5d7edf0 /clients | |
parent | 7a33c871fba320c8594bc2b3a0c622daa355372c (diff) |
uname is POSIX, so changed SOLARIS to POSIX
Diffstat (limited to 'clients')
-rw-r--r-- | clients/zctl/zctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clients/zctl/zctl.c b/clients/zctl/zctl.c index 08d2819..3516680 100644 --- a/clients/zctl/zctl.c +++ b/clients/zctl/zctl.c @@ -19,7 +19,7 @@ #include <string.h> #include <sys/file.h> #include <sys/param.h> -#ifdef SOLARIS +#ifdef POSIX #include <sys/utsname.h> #endif #ifndef lint @@ -62,7 +62,7 @@ main(argc,argv) struct hostent *hent; char ssline[BUFSIZ],oldsubsname[BUFSIZ],*envptr; int retval,code,i; -#ifdef SOLARIS +#ifdef POSIX struct utsname name; #endif @@ -92,7 +92,7 @@ main(argc,argv) com_err(argv[0], errno, "renaming .subscriptions"); } -#ifdef SOLARIS +#ifdef POSIX uname(&name); strcpy(ourhost, name.nodename); #else |