add DEBUGF

This commit is contained in:
van Hauser
2020-11-30 21:38:15 +01:00
parent 403b8a1086
commit 1b75cc9f74
3 changed files with 8 additions and 10 deletions

View File

@ -1582,7 +1582,7 @@ int main(int argc, char **argv, char **envp) {
if (debug) {
SAYF(cMGN "[D]" cRST " cd '%s';", getthecwd());
DEBUGF("cd '%s';", getthecwd());
for (i = 0; i < argc; i++)
SAYF(" '%s'", argv[i]);
SAYF("\n");
@ -1610,7 +1610,7 @@ int main(int argc, char **argv, char **envp) {
if (debug) {
SAYF(cMGN "[D]" cRST " cd '%s';", getthecwd());
DEBUGF("cd '%s';", getthecwd());
for (i = 0; i < (s32)cc_par_cnt; i++)
SAYF(" '%s'", cc_params[i]);
SAYF("\n");