]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_dbg.h
xnu-792.1.5.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_dbg.h
index 0b4942f366a666d3ba41314f3aa7094a404af6bf..fe1d71c89283d62086e31e881a1873e7306ddfd1 100644 (file)
@@ -98,7 +98,7 @@ extern int hfs_dbg_err;
 
 #define DBG_ERR(x)     {               \
        if(hfs_dbg_all || hfs_dbg_err) {        \
-        PRINTIT("%X: ", current_proc()->p_pid); \
+        PRINTIT("%X: ", proc_selfpid()); \
            PRINTIT("HFS ERROR: "); \
            PRINTIT x;                  \
            PRINT_DELAY;  \