diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-11-13 18:04:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-11-13 18:04:46 -0500 |
commit | 2a45ad01e211d0b36056c21d5211be46195b273d (patch) | |
tree | 087d19624803cdd8299ccb4184afceb769caba99 /printf.c | |
parent | 05aa323fabcd5353b90075335736e14d9144cedb (diff) | |
download | bfs-2a45ad01e211d0b36056c21d5211be46195b273d.tar.xz |
color: Implement %m for cfprintf()
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -618,7 +618,7 @@ struct bfs_printf *parse_bfs_printf(const char *format, struct cmdline *cmdline) if (!cmdline->mtab) { cmdline->mtab = parse_bfs_mtab(); if (!cmdline->mtab) { - cfprintf(cmdline->cerr, "%{er}error: Couldn't parse the mount table: %s.%{rs}\n\n", strerror(errno)); + cfprintf(cmdline->cerr, "%{er}error: Couldn't parse the mount table: %m%{rs}\n"); goto directive_error; } } |