Ignore:
Timestamp:
Apr 5, 2015, 12:21:15 AM (10 years ago)
Author:
alain
Message:

Cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.c

    r521 r550  
    768768                   unsigned int  flags )
    769769{
    770     return sys_call( SYSCALL_FAT_OPEN,
    771                      (unsigned int)pathname,
    772                      flags,
    773                      0, 0 );
     770    int ret = sys_call( SYSCALL_FAT_OPEN,
     771                        (unsigned int)pathname,
     772                        flags,
     773                        0, 0 );
     774    if ( ret < 0 ) giet_exit("error in giet_fat_open()");
     775    return ret;
    774776}
    775777
Note: See TracChangeset for help on using the changeset viewer.