aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/showconf.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-18 19:51:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-18 19:51:51 +0200
commit04346eeae61d9db52bc20695015a610dd016191a (patch)
tree51ae8ff679e72b7bdee2ce34e32c6be7ac9cddc5 /src/tools/showconf.c
parenttimers: round up instead of down in slack_time (diff)
downloadwireguard-monolithic-historical-04346eeae61d9db52bc20695015a610dd016191a.tar.xz
wireguard-monolithic-historical-04346eeae61d9db52bc20695015a610dd016191a.zip
tools: fix errno propagation and messages
Diffstat (limited to 'src/tools/showconf.c')
-rw-r--r--src/tools/showconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/showconf.c b/src/tools/showconf.c
index fa3fd2d..390273a 100644
--- a/src/tools/showconf.c
+++ b/src/tools/showconf.c
@@ -32,7 +32,7 @@ int showconf_main(int argc, char *argv[])
}
if (ipc_get_device(&device, argv[1])) {
- perror("Unable to get device");
+ perror("Unable to access interface");
goto cleanup;
}