diff options
author | Philipp Tölke <toelke@in.tum.de> | 2010-09-08 07:20:59 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2010-09-08 07:20:59 +0000 |
commit | 904122fdd5f2799cc40ab55ae984d29c2ec8c259 (patch) | |
tree | a60deb5a1531ad5815c81160c9843fc12200cbdc /src/vpn/gnunet-helper-vpn.c | |
parent | fa4bed9e35db040270f4f9e76e597ca2451e4ce7 (diff) | |
download | gnunet-904122fdd5f2799cc40ab55ae984d29c2ec8c259.tar.gz gnunet-904122fdd5f2799cc40ab55ae984d29c2ec8c259.zip |
Missed two %m yesterday
Replaced with %s, strerror(errno)
Diffstat (limited to 'src/vpn/gnunet-helper-vpn.c')
-rw-r--r-- | src/vpn/gnunet-helper-vpn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index 3f9bcb3d4..2d8b5baf3 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c | |||
@@ -175,7 +175,7 @@ int main(int argc, char** argv) { | |||
175 | 175 | ||
176 | uid_t uid = getuid (); | 176 | uid_t uid = getuid (); |
177 | if (setresuid (uid, uid, uid) != 0 ) | 177 | if (setresuid (uid, uid, uid) != 0 ) |
178 | fprintf (stderr, "Failed to setresuid: %m\n"); | 178 | fprintf (stderr, "Failed to setresuid: %s\n", strerror(errno)); |
179 | 179 | ||
180 | setnonblocking(0); | 180 | setnonblocking(0); |
181 | setnonblocking(1); | 181 | setnonblocking(1); |