aboutsummaryrefslogtreecommitdiffstats
path: root/console/record.c
diff options
context:
space:
mode:
Diffstat (limited to 'console/record.c')
-rw-r--r--console/record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console/record.c b/console/record.c
index c5a686b..5638fc6 100644
--- a/console/record.c
+++ b/console/record.c
@@ -54,7 +54,7 @@ sound_open(int rate)
int frag,afmt,channels,trigger,srate;
if (-1 == (sound_fd = open(audio_dev, O_RDONLY))) {
- fprintf(stderr,"open %s: %s",audio_dev,strerror(errno));
+ fprintf(stderr,"open %s: %s\n",audio_dev,strerror(errno));
exit(1);
}
@@ -192,7 +192,7 @@ mixer_open(char *filename, char *device)
int i, devmask;
if (-1 == (mix = open(filename,O_RDONLY))) {
- fprintf(stderr,"open %s: %s",filename,strerror(errno));
+ fprintf(stderr,"open %s: %s\n",filename,strerror(errno));
exit(1);
}
if (-1 == ioctl(mix,MIXER_READ(SOUND_MIXER_DEVMASK),&devmask)) {

Privacy Policy