This commit is contained in:
Gwenhael Le Moine 2024-10-09 14:06:58 +02:00
parent 4467e3dcf3
commit c765e78ab5
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -287,8 +287,7 @@ static int InvokeCommand( char* tk )
/* Print help information */
static int Help( void )
{
int i;
for ( i = 0; i < ( int )TableSize( table ); i++ )
for ( int i = 0; i < ( int )TableSize( table ); i++ )
printf( "%s\t\t%s\n", table[ i ].name, table[ i ].desc );
return OK;
@ -335,7 +334,7 @@ void Monitor( void )
signal( SIGINT, sigint_handler );
/* Infinite loop; it's exited only when a condition is signalled */
while ( 1 ) {
while ( true ) {
/* Write prompt */
fputs( PROMPT, stdout );
fflush( stdout );