rename to dprintf()

This commit is contained in:
kevinnls committed 2021-09-20 16:23:50 +05:30
1 parent 038f493d19
commit 61101f6166
1 file changed
+4 -3
+4 -3
View File
@@ -2,10 +2,11 @@
#include<stdlib.h>
#include<stdarg.h>
void debug_msg(char* message, ... ){
void dprintf(char* fmt, ... ){
va_list args;
va_start(args, message);
va_start(args, fmt);
fprintf(stderr, "DEBUG: ");
vfprintf(stderr, message, args);
vfprintf(stderr, fmt, args);
frpintf(stderr, "\n");
va_end(args);
}