Ignore:
Timestamp:
May 6, 2015, 11:57:35 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Do not use a \n with log_msg (ease debug with 99)
File:
1 edited

Legend:

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

    r3379 r3380  
    135135
    136136    mr_asprintf(tmp, "%s", where_is_root_mounted());
    137     log_msg(0, "root is mounted at %s\n", tmp);
     137    log_msg(0, "root is mounted at %s", tmp);
    138138    log_msg(0, "That doesn't mean %s is the root partition. It's just a debugging message. Relax. It's part of am_I_in_disaster_recovery_mode().", tmp);
    139139
     
    28802880
    28812881    mr_asprintf(exclude_these_directories,"%s", call_program_and_get_last_line_of_output("mount -t coda,ncpfs,fuse.sshfs,nfs,nfs4,vmhgfs,smbfs,cifs,afs,gfs,ocfs,ocfs2,mvfs,nsspool,nssvol | tr -s '\t' ' ' | cut -d' ' -f3 | tr -s '\n' '|' | awk '{print $0;}'"));
    2882     log_msg(9,"list_of_NETFS_mounts_only returns %s\n",exclude_these_directories);
     2882    log_msg(9,"list_of_NETFS_mounts_only returns %s",exclude_these_directories);
    28832883    return(exclude_these_directories);
    28842884}
Note: See TracChangeset for help on using the changeset viewer.