Apply parts of previous usbip format overflow patch that still
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 15 Feb 2018 18:08:18 +0000 (18:08 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 15 Feb 2018 18:08:18 +0000 (18:08 +0000)
apply.

tools/usb/usbip/libsrc/usbip_host_common.c

index 6ff7b601f854562090b348097963554113e3fb75..7cc43384f4d1e8b0472d13c54c11f411bd314d2a 100644 (file)
@@ -21,6 +21,9 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#pragma GCC diagnostic warning "-Wpragmas"
+#pragma GCC diagnostic warning "-Wformat-truncation"
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>