alsaplayer (0.99.80-5.1) libalsaplayer/message.c

Summary

 libalsaplayer/message.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- alsaplayer-0.99.80.orig/libalsaplayer/message.c
+++ alsaplayer-0.99.80/libalsaplayer/message.c
@@ -381,7 +381,7 @@
 
 	pwd = getpwuid(geteuid());
 
-	sprintf(username, pwd == NULL ? "anonymous" : pwd->pw_name);
+	sprintf(username, "%s", pwd == NULL ? "anonymous" : pwd->pw_name);
 
 	sprintf(test_path, "alsaplayer_%s_", username);