diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-26 14:58:12 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-26 14:58:12 +0000 |
commit | f72ce0dc37f0b66ba2651b2fe7d39603f089abed (patch) | |
tree | 2facf10a91a09dbe5af9282639bfdaa98f98130f /src/bsd | |
parent | added -4 and -6 switches to udp socket (diff) |
moved from %m to %s and strerror
Diffstat (limited to 'src/bsd')
-rw-r--r-- | src/bsd/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd/tun.c b/src/bsd/tun.c index 4c50c40..d5697c5 100644 --- a/src/bsd/tun.c +++ b/src/bsd/tun.c @@ -123,7 +123,7 @@ int tun_init(tun_device_t* dev, const char* dev_name, const char* dev_type, cons if(dynamic) log_printf(ERROR, "can't open device file dynamically: no unused node left"); else - log_printf(ERROR, "can't open device file (%s): %m", device_file); + log_printf(ERROR, "can't open device file (%s): %s", device_file, strerror(errno)); tun_close(dev); return -1; |