diff mbox

spi: spidev_test: Fix typo in error message

Message ID 1449233954-12273-1-git-send-email-festevam@gmail.com (mailing list archive)
State Accepted
Commit edd3899c8cd2a7f11d23686e375359f8ab1f818a
Headers show

Commit Message

Fabio Estevam Dec. 4, 2015, 12:59 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

Fix the spelling of 'output' in the error message.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 tools/spi/spidev_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tools/spi/spidev_test.c b/tools/spi/spidev_test.c
index eddfc33..8a73d81 100644
--- a/tools/spi/spidev_test.c
+++ b/tools/spi/spidev_test.c
@@ -150,7 +150,7 @@  static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len)
 
 		ret = write(out_fd, rx, len);
 		if (ret != len)
-			pabort("not all bytes written to utput file");
+			pabort("not all bytes written to output file");
 
 		close(out_fd);
 	}