jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c
changeset 17173 ce6a6d533139
parent 14342 8435a30053c1
--- a/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c	Tue Apr 23 15:07:48 2013 -0700
+++ b/jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c	Wed Apr 24 14:49:49 2013 +0200
@@ -372,7 +372,7 @@
     size_t fds_size;
 
     kres = pid_for_task(mach_task_self(), &my_pid);
-    if (res != KERN_SUCCESS) {
+    if (kres != KERN_SUCCESS) {
         throw_internal_error(env, "pid_for_task failed");
         return -1;
     }