mirror of
https://github.com/Savapitech/42sh.git
synced 2026-03-18 21:50:35 +01:00
Remove \n in U_DEBUG_MSG
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#define DEBUG_INTERNAL(fmt, ...) ERR(HEAD_FMT fmt, HEAD, __VA_ARGS__)
|
||||
|
||||
#define U_DEBUG(fmt, ...) DEBUG_INTERNAL(fmt, __VA_ARGS__)
|
||||
#define U_DEBUG_MSG(msg) DEBUG_INTERNAL("%s\n", msg)
|
||||
#define U_DEBUG_MSG(msg) DEBUG_INTERNAL("%s", msg)
|
||||
|
||||
#define U_DEBUG_CALL(func, ...) func(__VA_ARGS__)
|
||||
#else
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
int main(int ac __attribute__((unused)), char **av __attribute__((unused)),
|
||||
char **env)
|
||||
{
|
||||
U_DEBUG_MSG("Debug mode activated.");
|
||||
U_DEBUG_MSG("Debug mode activated.\n");
|
||||
return shell(env);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user