From 49cda455df64b111da603aad774471acd7d53b6b Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 10 Jan 2017 22:19:14 -0600 Subject: [PATCH] And what a typo --- bin/capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/capture.c b/bin/capture.c index 698d6bf..e1d9103 100644 --- a/bin/capture.c +++ b/bin/capture.c @@ -34,7 +34,7 @@ int tabby_command_capture(int argc, char **argv) { usage(argc, argv, "No device specified"); } - if ((printer = tabby_printer_open(argv[1])) == NULL) { + if ((printer = tabby_printer_open(argv[2])) == NULL) { fprintf(stderr, "%s: %s: %s: %s\n", argv[0], "tabby_printer_open()", argv[2], strerror(errno));