修改control文件

This commit is contained in:
shaozhimin 2022-10-20 18:44:52 +08:00
parent 01fb8f4a11
commit c58d050dc9
2 changed files with 2 additions and 3 deletions

3
debian/control vendored
View File

@ -21,9 +21,8 @@ Build-Depends: debhelper-compat (= 12),
libarchive-dev,
libtesseract-dev,
libcups2-dev,
libcurl4-openssl-dev
libcurl4-openssl-dev,
libxrandr-dev
>>>>>>> debian/control
Standards-Version: 4.4.1
Homepage: http://gitlab2.kylin.com/kysdk/kysdk-system

View File

@ -27,7 +27,7 @@ float RealTimeInfo::kdk_real_get_net_speed(const char *nc)
int ret = 0;
memset(&ndev, 0, sizeof(ndev));
sprintf(ndev.ifs_name, nc);
sprintf(ndev.ifs_name, "%s", nc);
ndev.ifs_us = 100000;
ret = get_if_speed(&ndev);
if (ret < 0)