Searched refs:nfmt (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/usr.sbin/pw/
H A Dpw_log.c47 char nfmt[256], sname[32]; local
103 strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
104 rlen = sizeof(nfmt) - strlen(nfmt);
105 if (rlen <= 0 || snprintf(nfmt + strlen(nfmt), rlen,
111 vfprintf(logfile, nfmt, argp);
/freebsd-current/usr.sbin/ypldap/
H A Dlog.c68 char *nfmt; local
72 if (asprintf(&nfmt, "%s\n", fmt) == -1) {
76 vfprintf(stderr, nfmt, ap);
77 free(nfmt);
88 char *nfmt; local
97 if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
102 vlog(LOG_CRIT, nfmt, ap);
103 free(nfmt);
/freebsd-current/contrib/ntp/libntp/
H A Dmsyslog.c51 char * nfmt,
63 n = nfmt;
65 while ((c = *f++) != '\0' && n < (nfmt + lennfmt - 1)) {
81 if ((n + len) < (nfmt + lennfmt - 1)) {
234 char nfmt[256]; local
236 const char * nfmt = fmt;
250 format_errmsg(nfmt, sizeof(nfmt), fmt, errval);
254 return vsnprintf(buf, bufsiz, nfmt, ap);
266 char nfmt[25 local
50 format_errmsg( char * nfmt, size_t lennfmt, const char * fmt, int errval ) argument
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dlog.c321 char nfmt[200]; local
327 snprintf(nfmt, sizeof nfmt, "%s%d(%s): %s: %s", TUN_NAME,
330 snprintf(nfmt, sizeof nfmt, "%s%d: %s: %s", TUN_NAME,
333 snprintf(nfmt, sizeof nfmt, "%s: %s", log_Name(lev), fmt);
337 prompt_vPrintf(log_PromptContext, nfmt, ap);
340 prompt_vPrintf(prompt, nfmt, ap);
349 snprintf(nfmt, sizeo
356 vsyslog(syslogLevel(lev), nfmt, ap); local
[all...]
H A Dprompt.c395 char nfmt[LINE_LEN]; local
402 if (len && len < sizeof nfmt - 1 && fmt[len-1] == '\n' &&
404 strcpy(nfmt, fmt);
405 strcpy(nfmt + len - 1, "\r\n");
406 pfmt = nfmt;
/freebsd-current/libexec/atrun/
H A Datrun.c401 char nfmt[strlen(fmt) + strlen(fmtadd) + 1]; local
411 snprintf(nfmt, sizeof(nfmt), "%s%s", fmt, fmtadd);
412 vsyslog(LOG_ERR, nfmt, ap);
/freebsd-current/libexec/pppoed/
H A Dpppoed.c478 char nfmt[256]; local
481 snprintf(nfmt, sizeof nfmt, "%s: %s", fmt, strerror(errno));
483 vsyslog(LOG_INFO, nfmt, ap);
/freebsd-current/bin/ls/
H A Dprint.c432 char *posb, nfmt[BUFSIZ]; local
440 snprintf(nfmt, sizeof(nfmt), "%.*s%s%*s%s",
446 format = nfmt;
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c232 const bhnd_nvram_val_fmt *ofmt, *nfmt; local
235 nfmt = ofmt = *fmt;
252 error = ofmt->op_filter(&nfmt, inp, ilen, itype);
257 if (ofmt != nfmt) {
258 error = bhnd_nvram_val_fmt_filter(&nfmt, inp, ilen, itype);
263 *fmt = nfmt;
/freebsd-current/sys/vm/
H A Duma_core.c2266 u_int nfmt; local
2324 nfmt = 0;
2328 fmts[nfmt++] = 0;
2345 fmts[nfmt++] = UMA_ZFLAG_INTERNAL;
2347 fmts[nfmt++] = UMA_ZFLAG_OFFPAGE;
2365 for (j = 0; j < nfmt; j++) {

Completed in 165 milliseconds