summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-01-09 15:27:00 +0100
committerGravatar Nikias Bassen2014-01-09 15:27:00 +0100
commit549da0b893d1d85b5a553a92aef8a4fecb4a602f (patch)
tree1378e34e4fdae4ff97cf994223a83144dfe9b416 /src/main.c
parent96281bed0b27c8b37bbeccc8171ee5422e8306e1 (diff)
downloadusbmuxd-549da0b893d1d85b5a553a92aef8a4fecb4a602f.tar.gz
usbmuxd-549da0b893d1d85b5a553a92aef8a4fecb4a602f.tar.bz2
removed trailing \n from usbmuxd_log() messages
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 350fae6..b565d94 100644
--- a/src/main.c
+++ b/src/main.c
@@ -543,12 +543,12 @@ int main(int argc, char *argv[])
memset(&fst, '\0', sizeof(struct stat));
if (stat(userprefdir, &fst) < 0) {
if (mkdir(userprefdir, 0775) < 0) {
- usbmuxd_log(LL_FATAL, "Failed to create required directory '%s': %s\n", userprefdir, strerror(errno));
+ usbmuxd_log(LL_FATAL, "Failed to create required directory '%s': %s", userprefdir, strerror(errno));
res = -1;
goto terminate;
}
if (stat(userprefdir, &fst) < 0) {
- usbmuxd_log(LL_FATAL, "stat() failed after creating directory '%s': %s\n", userprefdir, strerror(errno));
+ usbmuxd_log(LL_FATAL, "stat() failed after creating directory '%s': %s", userprefdir, strerror(errno));
res = -1;
goto terminate;
}