Changeset 767 for trunk/xcache.c


Ignore:
Timestamp:
2011-04-18T09:16:12+02:00 (4 years ago)
Author:
moo
Message:

check return value to avoid gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r764 r767  
    31563156    xcache_restore_signal_handler(); 
    31573157    if (xc_coredump_dir && xc_coredump_dir[0]) { 
    3158         chdir(xc_coredump_dir); 
     3158        if (chdir(xc_coredump_dir) != 0) { 
     3159            /* error, but nothing can do about it 
     3160             * and should'nt print anything which might SEGV again */ 
     3161        } 
    31593162    } 
    31603163    raise(sig); 
Note: See TracChangeset for help on using the changeset viewer.