Skip to content

Commit

Permalink
fix bug found by qinlicang
Browse files Browse the repository at this point in the history
  • Loading branch information
lepton-wu committed Aug 5, 2009
1 parent 3400340 commit 64f1d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/busenum.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ Return Value:
//
// Set entry points into the driver
//
DriverObject->MajorFunction [IRP_MJ_CREATE] = Bus_Close;
DriverObject->MajorFunction [IRP_MJ_CREATE] = Bus_Create;
DriverObject->MajorFunction [IRP_MJ_CLEANUP] = Bus_Cleanup;
DriverObject->MajorFunction [IRP_MJ_CLOSE] = Bus_Create;
DriverObject->MajorFunction [IRP_MJ_CLOSE] = Bus_Close;
DriverObject->MajorFunction [IRP_MJ_READ] = Bus_Read;
DriverObject->MajorFunction [IRP_MJ_WRITE] = Bus_Write;
DriverObject->MajorFunction [IRP_MJ_PNP] = Bus_PnP;
Expand Down

0 comments on commit 64f1d26

Please sign in to comment.