[MLX4] cleaning
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 22 Oct 2008 11:25:10 +0000 (11:25 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 22 Oct 2008 11:25:10 +0000 (11:25 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1674 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/bus/core/l2w_debug.c

index c2dd7a2..670414f 100644 (file)
@@ -138,8 +138,7 @@ mlx4_err(
        va_end(list);
 
        // print to Event Log
-       // print to Event Log
-       __ansi_to_wchar( wbuf, buf, (int)strlen((void*)buf) );
+       __ansi_to_wchar( wbuf, buf, strlen(buf) );
        WriteEventLogEntryStr( mdev->pdev->p_self_do, (ULONG)EVENT_MLX4_ANY_ERROR, 0, 0, wbuf, 0, 0 ); 
 }