Replace snprintf() with g_snprintf()

This commit is contained in:
matt335672
2021-06-17 15:15:59 +01:00
parent 87701051d3
commit a79f5c00b1
+1 -1
View File
@@ -86,7 +86,7 @@ msg_style_to_str(int msg_style, char *buff, unsigned int bufflen)
break;
default:
snprintf(buff, bufflen, "UNKNOWN_0x%x", msg_style);
g_snprintf(buff, bufflen, "UNKNOWN_0x%x", msg_style);
result = buff;
}