summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/avirt-config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/avirt-config.c b/src/avirt-config.c
index d6e78f0..9bfb4cd 100644
--- a/src/avirt-config.c
+++ b/src/avirt-config.c
@@ -89,7 +89,7 @@ static int mount_configfs()
FILE *procfs;
struct stat st = {0};
- // Check for /proc/filesystem for configfs support
+ // Check for /proc/filesystems for configfs support
procfs = fopen("/proc/filesystems", "r");
if (!procfs)
return -1;
@@ -222,6 +222,10 @@ int snd_avirt_stream_new(const char *name, unsigned int channels, int direction,
strcat(path_attr, "/map");
WRITE_TO_PATH(path_attr, "%s", map);
}
+ else
+ {
+ AVIRT_DEBUG("No map specified!");
+ }
AVIRT_DEBUG_V("Created stream: %s", name);