cansequence: main(): error handling: add "()" to function name in error message

Commit 0be066bee6 ("cansequence: main(): allow to bind on "any"
interface") converted from SIOCGIFINDEX ioctl() to if_nametoindex()
and adjusted the error message, but forgot the "()" after the function
name, which is used in the rest of the error messages in this file.

Add the missing "()".

Fixes: 0be066bee6 ("cansequence: main(): allow to bind on "any" interface")
pull/458/head
Marc Kleine-Budde 2023-09-19 08:57:44 +02:00
parent e7c03ee93b
commit c8cf342cb2
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ int main(int argc, char **argv)
if (strcmp(ANYDEV, interface)) {
addr.can_ifindex = if_nametoindex(interface);
if (!addr.can_ifindex) {
perror("if_nametoindex");
perror("if_nametoindex()");
exit(EXIT_FAILURE);
}
}