Initial original import from: fuse-2.4.2-2.fc4
[captive.git] / src / libcaptive / rtl / error.c
index 62d2032..1b9fadd 100644 (file)
@@ -41,19 +41,9 @@ VOID RtlAssert(PVOID FailedAssertion,PVOID FileName,ULONG LineNumber,PCHAR Messa
        g_return_if_fail(FailedAssertion!=NULL);
        g_return_if_fail(FileName!=NULL);
 
-       g_message("Assertion \'%s\' failed at %s line %d: %s\n",
+       g_error("Assertion \'%s\' failed at %s line %d: %s\n",
                (const gchar *)FailedAssertion,(const gchar *)FileName,(gint)LineNumber,
                (Message ? Message : "(no message)"));
 
-       /* FIXME: Why the hell? ntfs.sys-NT5.1sp1
-        */
-       if (!strcmp((const gchar *)FailedAssertion,"((IrpSp->FileObject->Vpb == NULL) && ((IrpSp->FileObject->DeviceObject != NULL) && (IrpSp->FileObject->DeviceObject->Vpb != NULL) && (IrpSp->DeviceObject == IrpSp->FileObject->DeviceObject->Vpb->DeviceObject))) || ((IrpSp->FileObject->Vpb != NULL) && (IrpSp->DeviceObject == IrpSp->FileObject->Vpb->DeviceObject)) || (!FlagOn( Vcb->VcbState, VCB_STATE_VOLUME_MOUNTED ))")
-#if 0  /* Try to be compatible also with non-NT-5.1sp1 ntfs.sys instances */
-                       && !strcmp((const gchar *)FileName,"d:\\xpsp1\\base\\fs\\ntfs\\strucsup.c")
-                       && LineNumber==6582
-#endif
-                       && !strcmp(Message,"No correspondence btwn file and device in irp"))
-               return;
-
        g_assert_not_reached();
 }