1
0
Fork 0

Trivial cleanups in header files.

Print newline before message in signal handler.
This commit is contained in:
Joris van Rantwijk 2014-01-03 22:00:31 +01:00
parent 7f1a8bb1d7
commit c71a39d3d2
3 changed files with 4 additions and 3 deletions

View File

@ -22,11 +22,11 @@
#define _FILE_OFFSET_BITS 64
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <algorithm>
#include <alsa/asoundlib.h>

View File

@ -5,6 +5,7 @@
#include <cstdio>
#include <string>
#include <vector>
#include "SoftFM.h"

View File

@ -200,7 +200,7 @@ static void handle_sigterm(int sig)
{
stop_flag.store(true);
string msg = "Got signal ";
string msg = "\nGot signal ";
msg += strsignal(sig);
msg += ", stopping ...\n";