summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-24 00:22:13 +0000
committerobrien <obrien@FreeBSD.org>2001-03-24 00:22:13 +0000
commit3653e1a4dfd0c11abe36f31b168b083a62b8794e (patch)
tree4f4423f9d19525ddcfef35959367eb3fdc40feda /lib
parent3d10dbbf55f43354ca4fb1582dd39266950bbdc2 (diff)
downloadFreeBSD-src-3653e1a4dfd0c11abe36f31b168b083a62b8794e.zip
FreeBSD-src-3653e1a4dfd0c11abe36f31b168b083a62b8794e.tar.gz
Fix rcsid/$FreeBSD$.
Reduce diff from what I think is the original sources.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/key_call.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libc/rpc/key_call.c b/lib/libc/rpc/key_call.c
index 287ca76..86cd597 100644
--- a/lib/libc/rpc/key_call.c
+++ b/lib/libc/rpc/key_call.c
@@ -28,12 +28,15 @@
*/
/*
* Copyright (c) 1986-1991 by Sun Microsystems Inc.
- *
- * $FreeBSD$
*/
#ident "@(#)key_call.c 1.25 94/04/24 SMI"
+#ifndef lint
+static char rcsid[] =
+ "$FreeBSD$";
+#endif /* not lint */
+
/*
* key_call.c, Interface to keyserver
*
@@ -361,7 +364,17 @@ int vers;
return ((CLIENT *) NULL);
}
tpconf = NULL;
+#if defined(__FreeBSD__)
if (uname(&u) == -1)
+#else
+#if defined(i386)
+ if (_nuname(&u) == -1)
+#elif defined(sparc)
+ if (_uname(&u) == -1)
+#else
+#error Unknown architecture!
+#endif
+#endif
{
endnetconfig(localhandle);
return ((CLIENT *) NULL);
OpenPOWER on IntegriCloud