Ignore:
Timestamp:
Mar 12, 2024, 3:10:24 AM (3 months ago)
Author:
Bruno Cornec
Message:

More compiler fixes

  • Fix unused vars
  • Fix FreeBSD #if alone
  • Use MDSTAT_FILE everywhere
  • Fix missing break
  • Fix some strncpy. mr_strncpy used when safe
  • Fix wrong g_isoform_header_str proto !
  • find-cd & find-dvd => find-optical
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-raid.c

    r3879 r3892  
    5656        mr_strcat(command, "raid%d", raidno);
    5757    }
    58     mr_strcat(command, "\" /proc/mdstat > /dev/null 2> /dev/null");
     58    mr_strcat(command, "\" " MDSTAT_FILE " > /dev/null 2> /dev/null");
    5959    log_it("Is raid %d registered? Command = '%s'", raidno, command);
    6060    res = system(command);
Note: See TracChangeset for help on using the changeset viewer.