Skip to content

Commit

Permalink
Add missing linefeeds to stderr output
Browse files Browse the repository at this point in the history
  • Loading branch information
spiiroin committed Mar 13, 2014
1 parent 9ae692a commit 7aa7d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsme/dsme-wdd.c
Expand Up @@ -240,9 +240,9 @@ static bool set_nonblocking(int fd)

errno = 0;
if ((flags = fcntl(fd, F_GETFL)) == -1 && errno != 0) {
fprintf(stderr, ME "fcntl failed: %s", strerror(errno));
fprintf(stderr, ME "fcntl failed: %s\n", strerror(errno));
} else if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) == -1) {
fprintf(stderr, ME "fcntl(O_NONBLOCK) failed: %s", strerror(errno));
fprintf(stderr, ME "fcntl(O_NONBLOCK) failed: %s\n", strerror(errno));
} else {
set = true;
}
Expand Down

0 comments on commit 7aa7d13

Please sign in to comment.