Skip to content

Commit

Permalink
Minimal formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dragorn committed Apr 25, 2017
1 parent f277ab8 commit 5a98dc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linux_wireless_control.c
Expand Up @@ -492,8 +492,7 @@ int iwconfig_set_mode(const char *in_dev, char *in_err, int in_mode) {
wrq.u.mode = in_mode;

if (ioctl(skfd, SIOCSIWMODE, &wrq) < 0) {
snprintf(in_err, STATUS_MAX,
"failed to set mode on interface '%s': %s",
snprintf(in_err, STATUS_MAX, "failed to set mode on interface '%s': %s",
in_dev, strerror(errno));
close(skfd);
return -1;
Expand Down

0 comments on commit 5a98dc3

Please sign in to comment.