summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm.c b/src/pcm.c
index 48ccaf0..36a9bc8 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -483,7 +483,7 @@ snd_pcm_format_name(const snd_pcm_format_t format)
NAME(SND_PCM_FORMAT_FLOAT_BE);
default:
WARNX("unsupported format: 0x%x", format);
- return "unsupported";
+ return NULL;
}
#undef NAME
}