Ignore:
Timestamp:
May 5, 2009, 3:56:10 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix lack of formating (discovered by the new Mandriva build process, and adopted here as well as it's good practice).
File:
1 edited

Legend:

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

    r2187 r2190  
    902902    }
    903903
    904     sprintf(tmp, call_program_and_get_last_line_of_output
     904    sprintf(tmp, "%s", call_program_and_get_last_line_of_output
    905905            ("dvdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep DVD | cut -d':' -f1")
    906906        );
    907907    log_msg(5, "tmp = '%s'", tmp);
    908908    if (!tmp[0])
    909         sprintf(tmp, call_program_and_get_last_line_of_output
     909        sprintf(tmp, "%s", call_program_and_get_last_line_of_output
    910910                ("cdrecord -scanbus 2> /dev/null | grep \") '\" | grep -n \"\" | grep DVD | cut -d':' -f1")
    911911            );
Note: See TracChangeset for help on using the changeset viewer.