Home
last modified time | relevance | path

Searched refs:dprintf (Results 1 – 25 of 36) sorted by relevance

12

/openbsd-src/usr.sbin/lpd/
H A Dlp_displayq.c47 dprintf(ofd, "%s: ", lpd_hostname); in lp_displayq()
48 dprintf(ofd, "Warning: %s is down\n", lp->lp_name); in lp_displayq()
52 dprintf(ofd, "%s: ", lpd_hostname); in lp_displayq()
53 dprintf(ofd, "Warning: %s queue is turned off\n", in lp_displayq()
62 dprintf(ofd, "%s: ", lpd_hostname); in lp_displayq()
63 dprintf(ofd, "Warning: cannot read queue\n"); in lp_displayq()
72 dprintf(ofd, "%s: ", lpd_hostname); in lp_displayq()
75 dprintf(ofd, "Warning: cannot read status file\n"); in lp_displayq()
78 dprintf(ofd, "%s\n", status); in lp_displayq()
84 dprintf(ofd, "no entries\n"); in lp_displayq()
[all …]
H A Dlp_rmjob.c77 dprintf(ofd, "%s: ", lpd_hostname); in lp_rmjob()
78 dprintf(ofd, "%s: Permission denied\n", q.cfname[i]); in lp_rmjob()
178 dprintf(ofd, "%s: ", lpd_hostname); in doremove()
183 dprintf(ofd, "cannot dequeue %s\n", cfname); in doremove()
187 dprintf(ofd, "%s dequeued\n", cfname); in doremove()
199 dprintf(ofd, "%s: ", lpd_hostname); in doremove()
202 dprintf(ofd, "cannot dequeue %s\n", line + 1); in doremove()
205 dprintf(ofd, "%s dequeued\n", line + 1); in doremove()
/openbsd-src/sys/dev/isa/
H A Dif_el.c51 #define dprintf(x) printf x macro
53 #define dprintf(x) macro
119 dprintf(("Probing 3c501 at 0x%x...\n", iobase)); in elprobe()
122 dprintf(("Resetting board...\n")); in elprobe()
128 dprintf(("Reading station address...\n")); in elprobe()
133 dprintf(("Address is %s\n", ether_sprintf(station_addr))); in elprobe()
141 dprintf(("Bad vendor code.\n")); in elprobe()
145 dprintf(("Vendor code ok.\n")); in elprobe()
166 dprintf(("Attaching %s...\n", sc->sc_dev.dv_xname)); in elattach()
180 dprintf(("Attaching interface...\n")); in elattach()
[all …]
/openbsd-src/usr.bin/awk/
H A Dmain.c102 dprintf(STDERR_FILENO, "floating point exception%s%s\n", in fpecatch()
111 dprintf(STDERR_FILENO, " input record number %d", (int) (*FNR)); in fpecatch()
113 dprintf(STDERR_FILENO, ", file %s", *FILENAME); in fpecatch()
115 dprintf(STDERR_FILENO, "\n"); in fpecatch()
118 dprintf(STDERR_FILENO, " source line number %d", curnode->lineno); in fpecatch()
120 dprintf(STDERR_FILENO, " source line number %d", lineno); in fpecatch()
123 dprintf(STDERR_FILENO, " source file %s", cursource()); in fpecatch()
125 dprintf(STDERR_FILENO, "\n"); in fpecatch()
/openbsd-src/bin/dd/
H A Dmisc.c76 dprintf(STDERR_FILENO, "%zu+%zu records in\n%zu+%zu records out\n", in sig_summary()
80 dprintf(STDERR_FILENO, "%zu odd length swab %s\n", in sig_summary()
84 dprintf(STDERR_FILENO, "%zu truncated %s\n", in sig_summary()
88 dprintf(STDERR_FILENO, in sig_summary()
/openbsd-src/sbin/shutdown/
H A Dshutdown.c341 dprintf(fd[1], in timewarn()
350 dprintf(fd[1], "System going down at %s\n\n", when); in timewarn()
352 dprintf(fd[1], "System going down in %lld minute%s\n\n", in timewarn()
356 dprintf(fd[1], "System going down in %lld minute%s\n\n", in timewarn()
359 dprintf(fd[1], "System going down in 30 seconds\n\n"); in timewarn()
361 dprintf(fd[1], "System going down IMMEDIATELY\n\n"); in timewarn()
587 dprintf(fastfd, "fastboot file for fsck\n"); in doitfast()
610 dprintf(logfd, in nolog()
613 dprintf(logfd, in nolog()
/openbsd-src/lib/libc/stdio/
H A Ddprintf.c39 dprintf(int fd, const char * __restrict fmt, ...) in dprintf() function
49 DEF_WEAK(dprintf);
H A DMakefile.inc22 getdelim.c getline.c dprintf.c vdprintf.c \
/openbsd-src/regress/lib/libc/atexit/
H A Datexit_test.c146 dprintf(STDERR_FILENO, "SIGSEGV\n"); in handle_signal()
149 dprintf(STDERR_FILENO, "unexpected signal caught\n"); in handle_signal()
/openbsd-src/usr.bin/lock/
H A Dlock.c231 dprintf(STDERR_FILENO, "%s: type in the unlock key.", in hi()
235 dprintf(STDERR_FILENO, " timeout in %lld:%02d minutes", in hi()
239 dprintf(STDERR_FILENO, "\n"); in hi()
/openbsd-src/sys/dev/acpi/
H A Dacpimadt.c243 dprintf("%s: LAPIC: acpi_proc_id %x, apic_id %x, flags 0x%x\n", in acpimadt_attach()
282 dprintf("%s: IOAPIC: acpi_ioapic_id %x, address 0x%x, global_int_base 0x%x\n", in acpimadt_attach()
299 dprintf("%s: X2APIC: acpi_proc_uid %x, apic_id %x, flags 0x%x\n", in acpimadt_attach()
355 dprintf("%s: OVERRIDE: bus %x, source %x, global_int %x, flags %x\n", in acpimadt_attach()
391 dprintf("%s: LAPIC_NMI: acpi_proc_id %x, local_apic_lint %x, flags %x\n", in acpimadt_attach()
H A Datk0110.c451 dprintf("%s: %s: %lld: evaluation failed\n", in aibs_getvalue()
457 dprintf("%s: %s: %lld: not an integer: type %i\n", in aibs_getvalue()
465 dprintf("%s: %s: %lld: result buffer too small\n", in aibs_getvalue()
472 dprintf("%s: %s: %lld: bad flags in result\n", in aibs_getvalue()
496 dprintf("%s: %s: %lld: evaluation failed\n", in aibs_getpack()
502 dprintf("%s: %s: %lld: not a package: type %i\n", in aibs_getpack()
H A Dacpivar.h39 #define dprintf(x...) do { if (acpi_debug) printf(x); } while (0) macro
42 #define dprintf(x...) macro
/openbsd-src/sys/dev/sbus/
H A Dmagmareg.h29 #define dprintf(x) printf x macro
31 #define dprintf(x) macro
H A Dmagma.c385 dprintf(("%s attach CD1400 %d addr 0x%x rev %x clock %dMHz\n", in magma_attach()
427 dprintf(("%s attach CD1190 %d addr 0x%x (failed)\n", in magma_attach()
715 dprintf(("%s%x: cd %s\n", mtty->ms_dev.dv_xname, port, mp->mp_carrier ? "on" : "off")); in magma_soft()
792 dprintf((" addr 0x%x", ms)); in mtty_attach()
1367 dprintf((" addr 0x%x", ms)); in mbpp_attach()
/openbsd-src/usr.sbin/tcpdump/
H A Dtcpdump.c543 dprintf(STDERR_FILENO, "\n"); in cleanup()
546 dprintf(STDERR_FILENO, in cleanup()
549 dprintf(STDERR_FILENO, in cleanup()
551 dprintf(STDERR_FILENO, in cleanup()
/openbsd-src/bin/pax/
H A Dpax.c351 dprintf(STDERR_FILENO, "\nCPU time limit reached, cleaning up.\n"); in sig_cleanup()
353 dprintf(STDERR_FILENO, "\nSignal caught, cleaning up.\n"); in sig_cleanup()
H A Dar_io.c314 (void)dprintf(listfd, in ar_close()
386 (void)dprintf(listfd, in ar_close()
393 (void)dprintf(listfd, "%s: %s vol %d, %lu files," in ar_close()
398 (void)dprintf(listfd, "%llu blocks\n", in ar_close()
/openbsd-src/usr.sbin/snmpd/
H A Dtraphandler.c372 if (dprintf(s[0], "%s\n", host) == -1) in trapcmd_exec()
376 if (dprintf(s[0], "%s\n", host) == -1) in trapcmd_exec()
385 n = dprintf(s[0], "%s %s\n", oidbuf, value); in trapcmd_exec()
/openbsd-src/usr.bin/find/
H A Dmisc.c152 dprintf(STDERR_FILENO, "find path: %*s\n", in show_path()
/openbsd-src/lib/libc/hidden/
H A Dstdio.h47 PROTO_NORMAL(dprintf);
/openbsd-src/usr.bin/ktrace/
H A Dktrace.c257 dprintf(STDERR_FILENO, in no_ktrace()
/openbsd-src/usr.bin/chpass/
H A Dchpass.c234 dprintf(STDERR_FILENO, "\n%s: %s unchanged\n", in kbintr()
/openbsd-src/gnu/lib/libexecinfo/
H A Dbacktrace.c189 if (dprintf(fd, "%s\n", s[i]) < 0) in backtrace_symbols_fd_fmt()
/openbsd-src/usr.bin/passwd/
H A Dlocal_passwd.c251 dprintf(STDOUT_FILENO, "\n%s\n", UNCHANGED_MSG); in kbintr()

12