Skip to content

Commit

Permalink
fix(lab4): use printf in app instead of print
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiPei233 authored Nov 23, 2024
1 parent fd0b45b commit d53343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lab4/user/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int printf(const char *, ...);
#define CLEAR "\033[0m"

#define Log(format, ...) \
printk("\33[1;35m[%s,%d,%s] " format "\33[0m\n", \
printf("\33[1;35m[%s,%d,%s] " format "\33[0m\n", \
__FILE__, __LINE__, __func__, ## __VA_ARGS__)

#endif

0 comments on commit d53343a

Please sign in to comment.