aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iftop
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2018-08-01 10:41:11 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2018-09-22 21:20:58 +0200
commitdb30adc9312bd0c42830af60ddf2ca398494c265 (patch)
tree5af9b062151b3f3962b7a3202f25ec5e5851cadb /package/network/utils/iftop
parent0f44c7c8d190924c22420638f87cca0ea148d587 (diff)
downloadupstream-db30adc9312bd0c42830af60ddf2ca398494c265.tar.gz
upstream-db30adc9312bd0c42830af60ddf2ca398494c265.tar.bz2
upstream-db30adc9312bd0c42830af60ddf2ca398494c265.zip
layerscape: fix get_device_file() function of restool
The restool failed to work with current gcc-7.3.0-musl. This patch is to add a restool fix-up patch to fix multiple problems encountered in the get_device_file() function: - The deprecated atoi() function is replaced by strtoul - An invalid memory access was being performed by using memory from dir->d_name even after closedir(). This is fixed by a strdup() on the device filename. - Also, error prints now print any relevant error code. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/network/utils/iftop')
0 files changed, 0 insertions, 0 deletions