Skip to content

Commit

Permalink
staging: wlags49_h2: '&pointer[0]' to 'pointer' fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Sep 20, 2010
1 parent 1c919d9 commit db5c53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/wlags49_h2/wl_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db5c53d

Please sign in to comment.