Unify the debugging messages in the loader and kernel
This commit is contained in:
parent
508a3ed502
commit
976077afa0
|
@ -22,8 +22,10 @@ int main(int argc, char * argv[])
|
|||
for(i = 0; i < argc; i++)
|
||||
printf(" \"%s\"", argv[i]);
|
||||
printf("\n");
|
||||
#ifdef DEBUG
|
||||
if(argv[i] != NULL)
|
||||
puts("argv is not terminated properly!");
|
||||
puts("uKernel: argv is not terminated properly");
|
||||
#endif
|
||||
if((t = time(NULL)) == -1)
|
||||
printf("Could not get the current time (%d)\n", errno);
|
||||
else
|
||||
|
|
|
@ -19,5 +19,9 @@ int main(int argc, char * argv[])
|
|||
for(i = 0; i < argc; i++)
|
||||
printf(" \"%s\"", argv[i]);
|
||||
printf("\n");
|
||||
#ifdef DEBUG
|
||||
if(argv[i] != NULL)
|
||||
puts("uLoader: argv is not terminated properly");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user