Switch __FUNCTION__ to __FILE__ since Sun Developer studio doesn't support the former
authorLove Hornquist Astrand <lha@h5l.org>
Sat, 15 Aug 2009 03:59:35 +0000 (05:59 +0200)
committerLove Hornquist Astrand <lha@h5l.org>
Sat, 15 Aug 2009 03:59:35 +0000 (05:59 +0200)
kadmin/rpc.c

index fcc228c92ec9f22090a3aaf08aef89acc7dd5e24..9170d68caebed659b4462f4f9722e5369728ac67 100644 (file)
@@ -42,7 +42,7 @@
                int __r;                                                \
                if ((__r = (x))) {                                      \
                        krb5_errx(dcontext, 1, "Failed (%d) on %s:%d",  \
-                           __r, __FUNCTION__, __LINE__);               \
+                           __r, __FILE__, __LINE__);                   \
                }                                                       \
        } while(0)