diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 8b5e7de..fc98ef5 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -345,7 +345,7 @@ static void set_user(void) { if (setuid(conf.uid) < 0) exit_errno("setuid"); - pr_info("Changed to UID %i, GID %i.", conf.uid, conf.gid); + pr_info("changed to UID %i, GID %i", (int)conf.uid, (int)conf.gid); } } @@ -673,6 +673,8 @@ static inline void run(void) { valgrind as easy as possible. */ static inline void cleanup(void) { + pr_info("terminating fastd"); + on_down(); delete_peers(); |