]> code.delx.au - pulseaudio/commitdiff
fix arguments to format string
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2008 16:28:19 +0000 (18:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2008 16:28:19 +0000 (18:28 +0200)
src/modules/module-stream-restore.c

index e1381a5e2512f51ad6a2ff2f89e3851a764e21a9..55897004b17784c9bbac05f395a54197ce11090c 100644 (file)
@@ -134,7 +134,7 @@ static char *get_name(pa_proplist *p, const char *prefix) {
     else if ((r = pa_proplist_gets(p, PA_PROP_MEDIA_NAME)))
         return pa_sprintf_malloc("%s-by-media-name:%s", prefix, r);
 
-    return pa_sprintf_malloc("%s-fallback:%s", prefix);
+    return pa_sprintf_malloc("%s-fallback:%s", prefix, r);
 }
 
 static struct entry* read_entry(struct userdata *u, char *name) {