projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6af2bfe
)
- Verify that we got a handle to a file object
author
Cameron Gutman
<aicommander@gmail.com>
Tue, 18 Aug 2009 16:23:31 +0000
(16:23 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Tue, 18 Aug 2009 16:23:31 +0000
(16:23 +0000)
svn path=/trunk/; revision=42768
reactos/drivers/network/afd/afd/tdi.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/network/afd/afd/tdi.c
b/reactos/drivers/network/afd/afd/tdi.c
index
50cf59d
..
5fc90e2
100644
(file)
--- a/
reactos/drivers/network/afd/afd/tdi.c
+++ b/
reactos/drivers/network/afd/afd/tdi.c
@@
-130,7
+130,7
@@
static NTSTATUS TdiOpenDevice(
if (NT_SUCCESS(Status)) {
Status = ObReferenceObjectByHandle(*Handle, /* Handle to open file */
GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE, /* Access mode */
-
NULL,
/* Object type */
+
IoFileObjectType,
/* Object type */
KernelMode, /* Access mode */
(PVOID*)Object, /* Pointer to object */
NULL); /* Handle information */