summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prf.c
AgeCommit message (Collapse)Author
2001-02-22avoid sign extension for %bMichael Shalayeff
2000-06-25disable automatic crashdump when swap encryption is onNiels Provos
2000-03-13Get rid of leading NULs in /kern/msgbuf. If the msgbuf modified in betweenTodd C. Miller
reads at just the right time is is possible to get duplicate output but in practice this is extremely rare. Joint effort with Theo.
2000-03-02Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.Artur Grabowski
In many cases, setting db_console in /etc/rc is too late.
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1999-12-02snprintf in kernel; assar@stacken.kth.seTheo de Raadt
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1999-01-10NUL terminate the buffer in vsprintfNiklas Hallqvist
1998-04-04default to console ddb offTheo de Raadt
1998-02-05rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entryTheo de Raadt
with a sysctl. There will be architectures and drivers that lack function, and I trust the maintainers of those will forget to add the code..
1998-01-24NULL derefNiklas Hallqvist
1998-01-21support expanded panicstr; and add vsprintf backTheo de Raadt
1997-12-29sysctl ddb.panic_ddb; felix@mamba.pond.sub.orgTheo de Raadt
1997-12-28Do not lose the first char in msgbufNiklas Hallqvist
1997-11-04import torek's vfprintf() from libc [renamed to kprintf and allchuck
floating point stuff removed]. the new kprintf replaces the 3 different (and buggy) versions of printf that were in the kernel before (kprintf, sprintf, and db_printf), thus reducing duplicated code by 2/3's. this fixes (or adds) several printf formats. XXX: new kprintf still supports several non-standard '%' formats: %: - passes an additional format string and argument list recursively %b - used to decode error registers %r - int, but print in radix "db_radix" [DDB only] %z - 'signed hex' [DDB only] %n - unsigned int, but print in radix "db_radix" [DDB only] note that DDB's "%n" conflicts with standard "%n" which takes the number of characters written so far and stores it into the integer indicated by the "int *" pointer arg. yuck! while here, add comments for each function explaining what it is supposed to do.
1997-10-01added 'q' modifier (64-bit integers) in kernel vsprintf/kprintfAngelos D. Keromytis
1996-12-06-Wcast-qual cleanupNiklas Hallqvist
1996-11-29back out bitmask_snprintf()kstailey
1996-11-24Commented out a def, only referenced in out-commented codeNiklas Hallqvist
1996-11-24added bitmap_snprintfkstailey
1996-10-19__assert added, impl from netbsd, however put elsewhere. use it insteadNiklas Hallqvist
of private versions (one even using the userland header) in if_sn.c
1996-07-28fix vsnprintf return valTheo de Raadt
1996-07-23make printf/addlog return 0, for compat to userlandTheo de Raadt
1996-07-19Fixed NetBSD pr #2633 (douzzer@mit.edu)--Be slightly more reasonabledm
about something like printf ("bogus format %l");
1996-07-02-Wall & -Wstrict-prototype fixesNiklas Hallqvist
1996-06-26expand %d is panicstrdm
1996-05-02sync syscalls, no sys/cpu.hTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-02-29From NetBSD: Merge with NetBSD 960217Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt