Lines Matching defs:error
28 * This file contains code to support better NFS error messages. Death to
29 * integer codes in user error messages!
50 * that it will substitute an error message for a "%m" string (like
55 nfs_perror(int error, char *fmt, ...)
62 expand_format_string(error, fmt, buf, FMT_BUF_SIZE);
75 * nfs_cmn_err: Works like cmn_err (error level, format string, and
76 * variable args) except that it will substitute an error message for a
81 nfs_cmn_err(int error, int level, char *fmt, ...)
88 expand_format_string(error, fmt, buf, FMT_BUF_SIZE);
102 * expanding %m to the error string for "error".
106 expand_format_string(int error, const char *fmt, char *buf, int buf_chars)
111 char *trunc_msg = "Truncated NFS error message: ";
127 errmsg = nfs_strerror(error);
129 * If there's an error message and room to display
131 * enough room, try just printing an error number.
132 * (We assume that the error value is in a
140 } else if (strlen(buf) + strlen("error XXX") <
142 (void) sprintf(to, "error %d", error);
180 result = "I/O error";