7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X
authorzgu
Wed, 18 Jan 2012 11:45:14 -0500
changeset 11485 f4225c55d338
parent 11484 b1bfcbf45f2c
child 11490 fe33daebbe19
child 11589 27147f149e1f
7131050: fix for "7071311 Decoder enhancement" does not build on MacOS X Summary: Decoder API changes did not reflect in os_bsd Reviewed-by: kamg, dcubed
hotspot/src/os/bsd/vm/os_bsd.cpp
--- a/hotspot/src/os/bsd/vm/os_bsd.cpp	Tue Jan 17 21:25:28 2012 -0500
+++ b/hotspot/src/os/bsd/vm/os_bsd.cpp	Wed Jan 18 11:45:14 2012 -0500
@@ -1920,7 +1920,7 @@
     return true;
   } else if (dlinfo.dli_fname != NULL && dlinfo.dli_fbase != 0) {
     if (Decoder::decode((address)(addr - (address)dlinfo.dli_fbase),
-       dlinfo.dli_fname, buf, buflen, offset) == Decoder::no_error) {
+       buf, buflen, offset, dlinfo.dli_fname)) {
        return true;
     }
   }