summaryrefslogtreecommitdiff
path: root/modules/dtmfio/dtmfio.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-10 21:33:45 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-10 21:33:45 +0200
commit8fa77415960bc6811715e6182bfc2fe4ef434f67 (patch)
treeee85590a978c4b3a929247d53bde8b737a3577b0 /modules/dtmfio/dtmfio.c
parent639c20bbf0085de7b5265c80ab29aba58fc371cb (diff)
use warning() instead of error()
ref https://github.com/alfredh/baresip/issues/295
Diffstat (limited to 'modules/dtmfio/dtmfio.c')
-rw-r--r--modules/dtmfio/dtmfio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dtmfio/dtmfio.c b/modules/dtmfio/dtmfio.c
index e159888..8df0a22 100644
--- a/modules/dtmfio/dtmfio.c
+++ b/modules/dtmfio/dtmfio.c
@@ -108,7 +108,7 @@ static int module_init(void)
{
if ( mkfifo( DTMF_OUT, S_IWUSR | S_IRUSR ) ) {
int err = errno;
- error("Creation of the FIFO errored."
+ warning("Creation of the FIFO errored."
" This might cause issues. (%m)\n", err);
return err;
}
@@ -116,7 +116,7 @@ static int module_init(void)
fd = fopen( DTMF_OUT , "w+" );
if ( fd == 0 ){
- error("Opening of the FIFO errored."
+ warning("Opening of the FIFO errored."
" This might cause issues.\n");
}