Fix up another couple of places where we can apply filename styling.
Approved-By: Tom Tromey <tom@tromey.com>
print_sys_errmsg (name, save_errno);
}
else if ((st.st_mode & S_IFMT) != S_IFDIR)
- warning (_("%s is not a directory."), name);
+ warning (_("%ps is not a directory."),
+ styled_string (file_name_style.style (), name));
}
append:
if (res != 0)
{
/* FIXME, should use print_sys_errmsg but it's not filtered. */
- gdb_printf (_("`%s' has disappeared; keeping its symbols.\n"),
- objfile_name (objfile));
+ gdb_printf (_("`%ps' has disappeared; keeping its symbols.\n"),
+ styled_string (file_name_style.style (),
+ objfile_name (objfile)));
continue;
}
time_t new_modtime = new_statbuf.st_mtime;