Windows: AFSDevControl print control if exception
[openafs.git] / src / WINNT / afsrdr / kernel / lib / AFSDevControl.cpp
index 627195e..73ce088 100644 (file)
@@ -432,6 +432,11 @@ AFSDevControl( IN PDEVICE_OBJECT LibDeviceObject,
 
         ntStatus = STATUS_UNSUCCESSFUL;
 
+        AFSDbgLogMsg( 0,
+                      0,
+                      "EXCEPTION - AFSDevControl %08lX\n",
+                      ulIoControlCode);
+
         AFSDumpTraceFilesFnc();
     }