summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorLaurence Withers <lwithers@guralp.com>2011-07-14 23:21:45 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:00:24 +0200
commit07c07635b4f6d4ee2a03cd508beeeaccde4b9d7e (patch)
tree6d3f1fca1ea7566f73e9311b3a21a79173df2357 /common/main.c
parent9e9579bbf9780ced1153371cdc6aeb1ea8f0c0b6 (diff)
downloadu-boot-imx-07c07635b4f6d4ee2a03cd508beeeaccde4b9d7e.zip
u-boot-imx-07c07635b4f6d4ee2a03cd508beeeaccde4b9d7e.tar.gz
u-boot-imx-07c07635b4f6d4ee2a03cd508beeeaccde4b9d7e.tar.bz2
miiphy: use strncpy() not sprintf()
In miiphy_register() the new device's name was initialised by passing a string parameter as the format string to sprintf(). As this would cause problems if it ever contained a '%' symbol, switch to using strncpy() instead. Signed-off-by: Laurence Withers <lwithers@guralp.com> Cc: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'common/main.c')
0 files changed, 0 insertions, 0 deletions