mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 07:20:16 +00:00
Fix broken prints.
This commit is contained in:
@@ -109,14 +109,14 @@ void writeFile(
|
||||
int sc;
|
||||
sc = setuid(0);
|
||||
if ( sc ) {
|
||||
printf( "setuid failed: %s:\n", name, strerror(errno) );
|
||||
printf( "setuid failed: %s: %s\n", name, strerror(errno) );
|
||||
}
|
||||
|
||||
rtems_shell_write_file( name, contents );
|
||||
|
||||
sc = chmod ( name, mode );
|
||||
if ( sc ) {
|
||||
printf( "chmod %s: %s:\n", name, strerror(errno) );
|
||||
printf( "chmod %s: %s\n", name, strerror(errno) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user