Fix invalid Object Attributes
[reactos.git] / reactos / subsys / smss / smapi.c
index f3eaf4c..6d2941a 100644 (file)
@@ -362,7 +362,7 @@ SmCreateApiPort(VOID)
 
   InitializeObjectAttributes(&ObjectAttributes,
                             &UnicodeString,
-                            PORT_ALL_ACCESS,
+                            0,
                             NULL,
                             NULL);