diff options
| author | 2014-01-09 15:27:00 +0100 | |
|---|---|---|
| committer | 2014-01-09 15:27:00 +0100 | |
| commit | 549da0b893d1d85b5a553a92aef8a4fecb4a602f (patch) | |
| tree | 1378e34e4fdae4ff97cf994223a83144dfe9b416 /src/main.c | |
| parent | 96281bed0b27c8b37bbeccc8171ee5422e8306e1 (diff) | |
| download | usbmuxd-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -543,12 +543,12 @@ int main(int argc, char *argv[]) | |||
| 543 | memset(&fst, '\0', sizeof(struct stat)); | 543 | memset(&fst, '\0', sizeof(struct stat)); |
| 544 | if (stat(userprefdir, &fst) < 0) { | 544 | if (stat(userprefdir, &fst) < 0) { |
| 545 | if (mkdir(userprefdir, 0775) < 0) { | 545 | if (mkdir(userprefdir, 0775) < 0) { |
| 546 | usbmuxd_log(LL_FATAL, "Failed to create required directory '%s': %s\n", userprefdir, strerror(errno)); | 546 | usbmuxd_log(LL_FATAL, "Failed to create required directory '%s': %s", userprefdir, strerror(errno)); |
| 547 | res = -1; | 547 | res = -1; |
| 548 | goto terminate; | 548 | goto terminate; |
| 549 | } | 549 | } |
| 550 | if (stat(userprefdir, &fst) < 0) { | 550 | if (stat(userprefdir, &fst) < 0) { |
| 551 | usbmuxd_log(LL_FATAL, "stat() failed after creating directory '%s': %s\n", userprefdir, strerror(errno)); | 551 | usbmuxd_log(LL_FATAL, "stat() failed after creating directory '%s': %s", userprefdir, strerror(errno)); |
| 552 | res = -1; | 552 | res = -1; |
| 553 | goto terminate; | 553 | goto terminate; |
| 554 | } | 554 | } |
