+g_error() message for unsupported ioctl 0x664016 - by NtfsFixDataError().
authorshort <>
Sun, 13 Jul 2003 19:30:18 +0000 (19:30 +0000)
committershort <>
Sun, 13 Jul 2003 19:30:18 +0000 (19:30 +0000)
src/libcaptive/storage/media.c

index b975189..2ce0cb5 100644 (file)
@@ -314,8 +314,14 @@ GET_LENGTH_INFORMATION *GetLengthInformation;
                        Irp->IoStatus.Status=STATUS_SUCCESS;
                        } break;
 
+               case 0x00664016:
+                       g_error("%s: Invalid media IOCTL 0x%08lx - by NtfsFixDataError()",G_STRLOC,
+                                       (unsigned long)IrpStack->Parameters.DeviceIoControl.IoControlCode);
+                       /* FALLTHRU */
+
                default:
-                       g_error("Invalid media IOCTL 0x%08lX",(unsigned long)IrpStack->Parameters.DeviceIoControl.IoControlCode);
+                       g_error("%s: Invalid media IOCTL 0x%08lX",G_STRLOC,
+                                       (unsigned long)IrpStack->Parameters.DeviceIoControl.IoControlCode);
                        Irp->IoStatus.Status=STATUS_INVALID_DEVICE_REQUEST;
                        g_assert_not_reached();
                        goto done;