[PATCH] tools/usbip: fixes build with musl libc toolchain

2017-12-05 Thread julien . boibessot
From: Julien BOIBESSOT <julien.boibes...@armadeus.com> Indeed musl doesn't define old SIGCLD signal name but only new one SIGCHLD. SIGCHLD is the new POSIX name for that signal so it doesn't change anything on other libcs. This fixes this kind of build error: usbipd.c: In function ‘set_

[PATCH] tools/usbip: fixes potential (minor) "buffer overflow" (detected on recent gcc with -Werror)

2017-12-05 Thread julien . boibessot
From: Julien BOIBESSOT <julien.boibes...@armadeus.com> Fixes following build error: vhci_driver.c: In function 'refresh_imported_device_list': vhci_driver.c:118:37: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=] snprintf(