diff options
author | Abramo Bagnara <abramo@alsa-project.org> | 2000-11-30 09:40:50 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo@alsa-project.org> | 2000-11-30 09:40:50 +0000 |
commit | b0cd1da822e90daa60871059d82354d75495a7d9 (patch) | |
tree | 31b92c3a4d9983010558493692a8398102993c5b /aserver | |
parent | 3260487fe288b7cd123e02a42e947c48f23d7500 (diff) |
Added missing diagnostics
Diffstat (limited to 'aserver')
-rw-r--r-- | aserver/aserver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c index 6434aa05..384054e3 100644 --- a/aserver/aserver.c +++ b/aserver/aserver.c @@ -966,7 +966,7 @@ int main(int argc, char **argv) srvname = argv[optind]; err = snd_config_searchv(snd_config, &conf, "server", srvname, 0); if (err < 0) { - ERROR("unknown server %s", srvname); + ERROR("Missing definition for server %s", srvname); return 1; } snd_config_foreach(i, conf) { @@ -976,7 +976,7 @@ int main(int argc, char **argv) if (strcmp(n->id, "host") == 0) { err = snd_config_string_get(n, &host); if (err < 0) { - ERROR("Invalid type for host"); + ERROR("Invalid type for %s", n->id); return 1; } continue; @@ -984,7 +984,7 @@ int main(int argc, char **argv) if (strcmp(n->id, "socket") == 0) { err = snd_config_string_get(n, &socket); if (err < 0) { - ERROR("Invalid type for socket"); + ERROR("Invalid type for %s", n->id); return 1; } continue; @@ -992,12 +992,12 @@ int main(int argc, char **argv) if (strcmp(n->id, "port") == 0) { err = snd_config_integer_get(n, &port); if (err < 0) { - ERROR("Invalid type for port"); + ERROR("Invalid type for %s", n->id); return 1; } continue; } - ERROR("Unknown field: %s", n->id); + ERROR("Unknown field %s", n->id); return 1; } if (!host) { |