Lines Matching refs:msg
84 static char msg[MAXPATHLEN]; in file_lock() local
95 file_lock_error(msg, name, in file_lock()
97 return (msg); in file_lock()
124 file_lock_error(msg, name, in file_lock()
126 return (msg); in file_lock()
129 file_lock_error(msg, name, in file_lock()
131 return (msg); in file_lock()
151 file_lock_error(char * msg, char * file, const char * str, char * arg1, in file_lock_error() argument
156 (void) sprintf(msg, "Could not lock file `%s'; ", file); in file_lock_error()
157 len = strlen(msg); in file_lock_error()
158 (void) sprintf(&msg[len], str, arg1, arg2); in file_lock_error()
159 (void) strcat(msg, " failed - "); in file_lock_error()
162 len = strlen(msg); in file_lock_error()
163 (void) sprintf(&msg[len], "errno %d", errno); in file_lock_error()
166 (void) strcat(msg, sys_errlist[errno]); in file_lock_error()
168 len = strlen(msg); in file_lock_error()
169 (void) sprintf(&msg[len], "errno %d", errno); in file_lock_error()