aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/uhd_usrp_probe.cpp
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2016-01-13 17:06:06 +0100
committerMartin Braun <martin.braun@ettus.com>2016-01-26 17:19:39 +0100
commit45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6 (patch)
tree359dd6db30e30a7d47b15d778c97368e87cae4fc /host/utils/uhd_usrp_probe.cpp
parent17712af3b8f1f4cc1bdd11f0f4377c79cb6da87b (diff)
downloaduhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.tar.gz
uhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.tar.bz2
uhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.zip
fx2: std::system("/sbin/rmmod usbtest") not portable, fixed that
FX2 code has complications on Windows machine due to shell misinterpreting the "/sbin/rmmod usbtest" string. * path should not be hardcoded * std::system error message means "possible success" (which is confusing, and contains little information) * replaced std::system by matching syscall * used #ifdef UHD_PLATFORM_LINUX to make checking & removal Linux-only
Diffstat (limited to 'host/utils/uhd_usrp_probe.cpp')
0 files changed, 0 insertions, 0 deletions