xpenguins (2.2-8) format_string_fix.diff

Summary

 src/xpenguins_theme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- a/src/xpenguins_theme.c
+++ b/src/xpenguins_theme.c
@@ -615,7 +615,7 @@ __xpenguins_append_theme(char *name, XPe
 	    xpm_file_name = word;
 	  }
 	  else {
-	    snprintf(file_base, MAX_STRING_LENGTH, word);
+	    snprintf(file_base, MAX_STRING_LENGTH, "%s", word);
 	    xpm_file_name = file_name;
 	  }
 	  if (current->image) {