r25398: Parse loadparm context to all lp_*() functions.
[kai/samba.git] / source4 / libcli / util / errormap.c
index 347d513e9c7a313cb420d67eac00455e5a7b78c6..49384817b683d61f342c619685e00a4ca96010f7 100644 (file)
@@ -1168,7 +1168,7 @@ BOOL ntstatus_dos_equal(NTSTATUS status1, NTSTATUS status2)
           the mapping of dos codes, as we want to catch the cases where
           a forced dos code is needed
        */
-       if (lp_nt_status_support()) {
+       if (lp_nt_status_support(global_loadparm)) {
                return NT_STATUS_V(status1) == NT_STATUS_V(status2);
        }