Ignore:
Timestamp:
Sep 9, 2009, 12:37:59 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • replace system("sync") by sync() calls
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-devices.c

    r2375 r2376  
    13501350
    13511351        while (what_number_cd_is_this() != cd_number_i_want) {
    1352             paranoid_system("sync");
     1352            sync();
    13531353            if (is_this_device_mounted(MNT_CDROM)) {
    13541354                res =
     
    13721372                inject_device(bkpinfo->media_device);
    13731373            }
    1374             paranoid_system("sync");
     1374            sync();
    13751375        }
    13761376        mr_free(request);
Note: See TracChangeset for help on using the changeset viewer.