And what a typo

This commit is contained in:
XANTRONIX Development 2017-01-10 22:19:14 -06:00
parent 39d1e331f6
commit 49cda455df

View file

@ -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));