staging: wlags49_h2: '&pointer[0]' to 'pointer' fix

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Andy Shevchenko 2010-09-17 11:24:51 +03:00 committed by Greg Kroah-Hartman
parent 1c919d90e1
commit db5c53d15b
1 changed files with 1 additions and 1 deletions

View 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