jdk/src/solaris/native/sun/nio/ch/SctpNet.c
changeset 4675 68f287672813
parent 4669 11d1dbd3598d
child 4678 99fdf34405de
--- a/jdk/src/solaris/native/sun/nio/ch/SctpNet.c	Fri Jan 15 09:58:48 2010 -0500
+++ b/jdk/src/solaris/native/sun/nio/ch/SctpNet.c	Fri Jan 15 16:31:16 2010 +0000
@@ -484,7 +484,7 @@
         arglen = sizeof(arg);
     }
 
-    if (setsockopt(fd, klevel, kopt, parg, arglen) < 0) {
+    if (NET_SetSockOpt(fd, klevel, kopt, parg, arglen) < 0) {
         JNU_ThrowByNameWithLastError(env, JNU_JAVANETPKG "SocketException",
                                      "sun_nio_ch_SctpNet.setIntOption0");
     }
@@ -517,7 +517,7 @@
         arglen = sizeof(result);
     }
 
-    if (getsockopt(fd, klevel, kopt, arg, &arglen) < 0) {
+    if (NET_GetSockOpt(fd, klevel, kopt, arg, &arglen) < 0) {
         JNU_ThrowByNameWithLastError(env, JNU_JAVANETPKG "SocketException",
                                      "sun.nio.ch.Net.getIntOption");
         return -1;