summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsocket/socket
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libsocket/socket')
-rw-r--r--usr/src/lib/libsocket/socket/_soutil.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr/src/lib/libsocket/socket/_soutil.c b/usr/src/lib/libsocket/socket/_soutil.c
index d91e549cff..ac5ee929d8 100644
--- a/usr/src/lib/libsocket/socket/_soutil.c
+++ b/usr/src/lib/libsocket/socket/_soutil.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -32,8 +32,6 @@
* under license from the Regents of the University of California.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
@@ -139,11 +137,7 @@ _s_netconfig_path(int family, int type, int protocol,
*prototype = protocol;
retry:
-#if defined(i386)
- if (_xstat(_STAT_VER, net->nc_device, &stats) < 0) {
-#else
if (stat(net->nc_device, &stats) < 0) {
-#endif
switch (errno) {
case EINTR:
goto retry;