diff --git a/bin/if.c b/bin/if.c index be3529e..ee519fb 100644 --- a/bin/if.c +++ b/bin/if.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include @@ -62,6 +63,11 @@ static patty_ax25_if *create_kiss(struct context *ctx, int argc, char **argv) { for (i=0; ierr, "Unable to access device %s: %s", + argv[i], strerror(errno)); + } + info.flags |= PATTY_KISS_TNC_DEVICE; info.device = argv[i];