diff options
author | ajs <ajs> | 2004-11-20 02:06:59 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-11-20 02:06:59 +0000 |
commit | 6099b3b56956322567323c11fd698b2328c6826b (patch) | |
tree | fa537bd0eaa9f7d824f39445eabc928db59050ca /lib/command.c | |
parent | ae5e24d8678f1e3a60dde58d3382c5ba73d6bb27 (diff) |
2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* global: Replace strerror with safe_strerror. And vtysh/vtysh.c
needs to include "log.h" to pick up the declaration.
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index fc115d95..6c02c96e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2562,7 +2562,7 @@ DEFUN (config_write_file, if (chmod (config_file, CONFIGFILE_MASK) != 0) { vty_out (vty, "Can't chmod configuration file %s: %s (%d).%s", - config_file, strerror(errno), errno, VTY_NEWLINE); + config_file, safe_strerror(errno), errno, VTY_NEWLINE); return CMD_WARNING; } |