Lines Matching refs:msg
39 static void file_lock_error(char *msg, char *file, const char *str,
87 static char msg[MAXPATHLEN+1]; in file_lock() local
109 file_lock_error(msg, name, "symlink(%s, %s)", in file_lock()
111 fprintf(stderr, "%s", msg); in file_lock()
129 (void) getcwd(msg, MAXPATHLEN); in file_lock()
138 "Current working directory %s\n"), msg); in file_lock()
158 file_lock_error(char *msg, char *file, const char *str, char *arg1, char *arg2) in file_lock_error() argument
163 sprintf(msg, gettext("Could not lock file `%s'; "), file); in file_lock_error()
164 len = strlen(msg); in file_lock_error()
165 sprintf(&msg[len], str, arg1, arg2); in file_lock_error()
166 strcat(msg, gettext(" failed - ")); in file_lock_error()
172 strcat(msg, ptr); in file_lock_error()
174 len = strlen(msg); in file_lock_error()
175 sprintf(&msg[len], "errno %d", err); in file_lock_error()