From 0a8d98f36a19082eb303a1d42d951c82848b79bb Mon Sep 17 00:00:00 2001 From: Roland Lutz Date: Wed, 28 Jun 2017 22:18:10 +0200 Subject: iceprog: Fix error messages --- iceprog/iceprog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iceprog/iceprog.c') diff --git a/iceprog/iceprog.c b/iceprog/iceprog.c index 430c58d..1c2820c 100644 --- a/iceprog/iceprog.c +++ b/iceprog/iceprog.c @@ -564,7 +564,7 @@ int main(int argc, char **argv) } } else { if (ftdi_usb_open(&ftdic, 0x0403, 0x6010)) { - fprintf(stderr, "Can't find iCE FTDI USB device (vedor_id 0x0403, device_id 0x6010).\n"); + fprintf(stderr, "Can't find iCE FTDI USB device (vendor_id 0x0403, device_id 0x6010).\n"); error(2); } } @@ -595,7 +595,7 @@ int main(int argc, char **argv) ftdic_latency_set = true; if (ftdi_set_bitmode(&ftdic, 0xff, BITMODE_MPSSE) < 0) { - fprintf(stderr, "Failed set BITMODE_MPSSE on iCE FTDI USB device.\n"); + fprintf(stderr, "Failed to set BITMODE_MPSSE on iCE FTDI USB device.\n"); error(2); } -- cgit v1.2.3