staging: wlags49_h2: '&pointer[0]' to 'pointer' fix
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:51 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:10:55 +0000 (16:10 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlags49_h2/wl_util.c

index e510dcb..4521c9f 100644 (file)
@@ -338,7 +338,7 @@ const char *DbgHwAddr(unsigned char *hwAddr)
     static char     buffer[18];
     /*------------------------------------------------------------------------*/
 
-       sprintf(buffer, "%pM", &hwAddr[0]);
+       sprintf(buffer, "%pM", hwAddr);
 
     return buffer;
 } // DbgHwAddr