aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ft2232_spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c
index 82777a2c..d853b09f 100644
--- a/ft2232_spi.c
+++ b/ft2232_spi.c
@@ -180,8 +180,7 @@ static int ft2232_shutdown(void *data)
buf[1] = 0; /* Output byte ignored */
buf[2] = 0; /* Pin direction: all inputs */
if (send_buf(ftdic, buf, 3)) {
- msg_perr("Unable to set pins back inputs: (%s)\n",
- ftdi_get_error_string(ftdic));
+ msg_perr("Unable to set pins back to inputs.\n");
ret = 1;
}