[BLUE] Perform size/rectangle boundary checks on read/write operations. CORE-15108
[reactos.git] / drivers / multimedia / audio / sb16_nt4.old / main.c
index afea62f..3524029 100644 (file)
@@ -144,7 +144,7 @@ OpenSubkey(
 
     if ( ! NT_SUCCESS(status) )
     {
-        DPRINT("Couldn't open subkey %wZ\n", Subkey);
+        DPRINT("Couldn't open key %wZ\n", RegistryPath);
         return status;
     }
 
@@ -396,8 +396,8 @@ InitializeSoundBlaster(
         return status;
     }
 
-    DPRINT("Device: %wZ\n", device_name);
-    DPRINT("Symlink: %wZ\n", dos_device_name);
+    DPRINT("Device: %wZ\n", &device_name);
+    DPRINT("Symlink: %wZ\n", &dos_device_name);
 
     /*
         Create the device and DOS symlink