Searched refs:emsg (Results 1 - 25 of 63) sorted by relevance

123

/openbsd-current/libexec/login_radius/
H A Dlogin_radius.h21 char *password, char **emsg);
/openbsd-current/usr.sbin/npppd/npppd/
H A Dlog.c69 log_warn(const char *emsg, ...) argument
75 if (emsg == NULL)
78 va_start(ap, emsg);
80 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
82 vlog(LOG_ERR, emsg, ap);
93 log_warnx(const char *emsg, ...) argument
97 va_start(ap, emsg);
98 vlog(LOG_ERR, emsg, ap);
103 log_info(const char *emsg, ...) argument
107 va_start(ap, emsg);
113 log_debug(const char *emsg, ...) argument
125 fatal(const char *emsg) argument
140 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/iscsid/
H A Dlog.c82 log_warn(const char *emsg, ...) argument
88 if (emsg == NULL)
91 va_start(ap, emsg);
93 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
95 vlog(LOG_ERR, emsg, ap);
106 log_warnx(const char *emsg, ...) argument
110 va_start(ap, emsg);
111 vlog(LOG_ERR, emsg, ap);
116 log_info(const char *emsg, ...) argument
120 va_start(ap, emsg);
126 log_debug(const char *emsg, ...) argument
138 fatal(const char *emsg, ...) argument
162 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/ldpd/
H A Dlog.c84 log_warn(const char *emsg, ...) argument
90 if (emsg == NULL)
93 va_start(ap, emsg);
95 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
97 vlog(LOG_ERR, emsg, ap);
108 log_warnx(const char *emsg, ...) argument
112 va_start(ap, emsg);
113 vlog(LOG_ERR, emsg, ap);
118 log_info(const char *emsg, ...) argument
122 va_start(ap, emsg);
128 log_debug(const char *emsg, ...) argument
140 fatal(const char *emsg) argument
157 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/route6d/
H A Dlog.c108 log_warn(const char *emsg, ...) argument
113 if (emsg == NULL)
116 va_start(ap, emsg);
119 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
121 vlog(LOG_ERR, emsg, ap);
132 log_warnx(const char *emsg, ...) argument
136 va_start(ap, emsg);
137 vlog(LOG_ERR, emsg, ap);
142 log_info(const char *emsg, ...) argument
146 va_start(ap, emsg);
152 log_debug(const char *emsg, ...) argument
162 fatal(const char *emsg) argument
182 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/ypldap/
H A Dlog.c83 log_warn(const char *emsg, ...) argument
89 if (emsg == NULL)
92 va_start(ap, emsg);
94 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
96 vlog(LOG_ERR, emsg, ap);
107 log_warnx(const char *emsg, ...) argument
111 va_start(ap, emsg);
112 vlog(LOG_ERR, emsg, ap);
117 log_info(const char *emsg, ...) argument
121 va_start(ap, emsg);
127 log_debug(const char *emsg, ...) argument
139 fatal(const char *emsg) argument
156 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/dvmrpd/
H A Dlog.c85 log_warn(const char *emsg, ...) argument
91 if (emsg == NULL)
94 va_start(ap, emsg);
96 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
98 vlog(LOG_ERR, emsg, ap);
109 log_warnx(const char *emsg, ...) argument
113 va_start(ap, emsg);
114 vlog(LOG_ERR, emsg, ap);
119 log_info(const char *emsg, ...) argument
123 va_start(ap, emsg);
129 log_debug(const char *emsg, ...) argument
141 fatal(const char *emsg) argument
158 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/ripd/
H A Dlog.c84 log_warn(const char *emsg, ...) argument
90 if (emsg == NULL)
93 va_start(ap, emsg);
95 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
97 vlog(LOG_ERR, emsg, ap);
108 log_warnx(const char *emsg, ...) argument
112 va_start(ap, emsg);
113 vlog(LOG_ERR, emsg, ap);
118 log_info(const char *emsg, ...) argument
122 va_start(ap, emsg);
128 log_debug(const char *emsg, ...) argument
140 fatal(const char *emsg) argument
157 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/eigrpd/
H A Dlog.c88 log_warn(const char *emsg, ...) argument
94 if (emsg == NULL)
97 va_start(ap, emsg);
99 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
101 vlog(LOG_ERR, emsg, ap);
112 log_warnx(const char *emsg, ...) argument
116 va_start(ap, emsg);
117 vlog(LOG_ERR, emsg, ap);
122 log_info(const char *emsg, ...) argument
126 va_start(ap, emsg);
132 log_debug(const char *emsg, ...) argument
144 fatal(const char *emsg) argument
161 fatalx(const char *emsg) argument
[all...]
/openbsd-current/usr.sbin/syslogd/
H A Dlog.c95 log_warn(const char *emsg, ...) argument
103 if (emsg == NULL)
106 va_start(ap, emsg);
107 l = vsnprintf(ebuf, sizeof(ebuf), emsg, ap);
118 log_warnx(const char *emsg, ...) argument
122 va_start(ap, emsg);
123 vlog(LOG_ERR, emsg, ap);
128 log_info(int pri, const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(pri, emsg, a
138 log_debug(const char *emsg, ...) argument
159 log_debugadd(const char *emsg, ...) argument
182 vfatalc(int error, const char *emsg, va_list ap) argument
202 fatal(const char *emsg, ...) argument
213 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/sbin/dhclient/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/sbin/iked/
H A Dlog.c119 log_warn(const char *emsg, ...) argument
126 if (emsg == NULL)
129 va_start(ap, emsg);
131 if (asprintf(&nfmt, "%s: %s", emsg,
134 vlog(LOG_ERR, emsg, ap);
147 log_warnx(const char *emsg, ...) argument
151 va_start(ap, emsg);
152 vlog(LOG_ERR, emsg, ap);
157 log_info(const char *emsg, ...) argument
161 va_start(ap, emsg);
167 log_debug(const char *emsg, ...) argument
179 vfatalc(int code, const char *emsg, va_list ap) argument
199 fatal(const char *emsg, ...) argument
210 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/bgpd/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/dhcpd/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/dhcrelay/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/dhcrelay6/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/httpd/
H A Dlog.c119 log_warn(const char *emsg, ...) argument
126 if (emsg == NULL)
129 va_start(ap, emsg);
131 if (asprintf(&nfmt, "%s: %s", emsg,
134 vlog(LOG_ERR, emsg, ap);
147 log_warnx(const char *emsg, ...) argument
151 va_start(ap, emsg);
152 vlog(LOG_ERR, emsg, ap);
157 log_info(const char *emsg, ...) argument
161 va_start(ap, emsg);
167 log_debug(const char *emsg, ...) argument
179 vfatalc(int code, const char *emsg, va_list ap) argument
199 fatal(const char *emsg, ...) argument
210 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/ifstated/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/ospf6d/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/ospfd/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/relayd/
H A Dlog.c119 log_warn(const char *emsg, ...) argument
126 if (emsg == NULL)
129 va_start(ap, emsg);
131 if (asprintf(&nfmt, "%s: %s", emsg,
134 vlog(LOG_ERR, emsg, ap);
147 log_warnx(const char *emsg, ...) argument
151 va_start(ap, emsg);
152 vlog(LOG_ERR, emsg, ap);
157 log_info(const char *emsg, ...) argument
161 va_start(ap, emsg);
167 log_debug(const char *emsg, ...) argument
179 vfatalc(int code, const char *emsg, va_list ap) argument
199 fatal(const char *emsg, ...) argument
210 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Dlog.c119 log_warn(const char *emsg, ...) argument
126 if (emsg == NULL)
129 va_start(ap, emsg);
131 if (asprintf(&nfmt, "%s: %s", emsg,
134 vlog(LOG_ERR, emsg, ap);
147 log_warnx(const char *emsg, ...) argument
151 va_start(ap, emsg);
152 vlog(LOG_ERR, emsg, ap);
157 log_info(const char *emsg, ...) argument
161 va_start(ap, emsg);
167 log_debug(const char *emsg, ...) argument
179 vfatalc(int code, const char *emsg, va_list ap) argument
199 fatal(const char *emsg, ...) argument
210 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/lpd/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.bin/ldap/
H A Dlog.c119 log_warn(const char *emsg, ...) argument
126 if (emsg == NULL)
129 va_start(ap, emsg);
131 if (asprintf(&nfmt, "%s: %s", emsg,
134 vlog(LOG_ERR, emsg, ap);
147 log_warnx(const char *emsg, ...) argument
151 va_start(ap, emsg);
152 vlog(LOG_ERR, emsg, ap);
157 log_info(const char *emsg, ...) argument
161 va_start(ap, emsg);
167 log_debug(const char *emsg, ...) argument
179 vfatalc(int code, const char *emsg, va_list ap) argument
199 fatal(const char *emsg, ...) argument
210 fatalx(const char *emsg, ...) argument
[all...]
/openbsd-current/usr.sbin/rad/
H A Dlog.c100 log_warn(const char *emsg, ...) argument
107 if (emsg == NULL)
110 va_start(ap, emsg);
112 if (asprintf(&nfmt, "%s: %s", emsg,
115 vlog(LOG_ERR, emsg, ap);
128 log_warnx(const char *emsg, ...) argument
132 va_start(ap, emsg);
133 vlog(LOG_ERR, emsg, ap);
138 log_info(const char *emsg, ...) argument
142 va_start(ap, emsg);
148 log_debug(const char *emsg, ...) argument
160 vfatalc(int code, const char *emsg, va_list ap) argument
180 fatal(const char *emsg, ...) argument
191 fatalx(const char *emsg, ...) argument
[all...]

Completed in 158 milliseconds

123