aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/vsprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix emacs local variable block to use correct C style variable.David Vrabel2013-02-211-1/+1
| | | | | | | The emacs variable to set the C style from a local variable block is c-file-style, not c-set-style. Signed-off-by: David Vrabel <david.vrabel@citrix.com
* printk: prefer %#x et at over 0x%xJan Beulich2012-09-211-9/+9
| | | | | | | | | Performance is not an issue with printk(), so let the function do minimally more work and instead save a byte per affected format specifier. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* xen: Remove unused vsscanf/sscanf functionsDaniel De Graaf2012-02-061-236/+0
| | | | | Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
* Clean up stdarg handling a little. Fix for NetBSD.Keir Fraser2011-05-271-1/+0
| | | | Signed-off-by: Keir Fraser <keir@xen.org>
* vsprintf: Better size_t input checking, and fix return values ofKeir Fraser2008-09-221-4/+8
| | | | | | [v]scnprintf() when size <= 0. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* In C99 (7.19.6.2.10), the behavior of scanf("stuff... %n", ..., &n) isKeir Fraser2007-12-281-3/+1
| | | | | | | said to be undefined if the value to be put is n can't fit. I guess we can safely consider that the same applies to printf. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* Xen Security Modules: FLASKkfraser@localhost.localdomain2007-08-311-0/+236
| | | | Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
* Remove sprintf() from Xen. Use snprintf() and friends.Keir Fraser2007-01-301-23/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Remove unused implementation of vsprintf().kfraser@localhost.localdomain2007-01-291-29/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Improve consistency of type-attribute usage (volatile/const).kfraser@localhost.localdomain2006-12-211-7/+11
| | | | | From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [OpenBSD] Various changes to get Xen building on OpenBSD.kfraser@localhost.localdomain2006-10-181-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Add cpumask_scnprintf() and cpulist_scnprintf(). This alsokaf24@firebug.cl.cam.ac.uk2006-01-071-26/+121
| | | | | | | | | | adds the bitmap_scnprintf functions and scnprintf itself. Add dirty cpu and cpu affinity info to 'q'-key debug output. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.1.58 (42288505tf22vxeNSISpP2B48DpV5A)kaf24@scramble.cl.cam.ac.uk2005-03-041-0/+1
| | | | | | Fix the Emacs 'local variables' block to include required end stmt. Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
* bitkeeper revision 1.1236.1.14 (421db08d6LIbanwxXMIaE6u0X5DIbQ)kaf24@scramble.cl.cam.ac.uk2005-02-241-1/+9
| | | | | | Move Emacs mode lines to end of files, out of the way. Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
* bitkeeper revision 1.1159.212.95 (4204aa0ee0re5Xx1zWrJ9ejxzgRs3w)kaf24@scramble.cl.cam.ac.uk2005-02-051-20/+21
| | | | | | | Various cleanups. Remove PDB pending simpler GDB stub and/or NetBSD debugger. Force emacs mode to appropriate tabbing in various files. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1159.172.2 (4194cef3KkZjQym7EHz-BQaIK1qWiQ)cl349@freefall.cl.cam.ac.uk2004-11-121-0/+4
| | | | | Add %q as synonym for %ll.
* bitkeeper revision 1.1150 (41120577g9fFRK1fSLMW6p4QnOuLrQ)gm281@boulderdash.cl.cam.ac.uk2004-08-051-2/+2
| | | | | Overflows in the printing routine fixed.
* bitkeeper revision 1.821 (406007d6uu0vZYDxa9P1ZfNO9kF_Cg)kaf24@scramble.cl.cam.ac.uk2004-03-231-2/+2
| | | | | | | | | | | | Many files: xeno -> xen renames. ide-xen.c: Rename: xen/drivers/ide/ide-xeno.c -> xen/drivers/ide/ide-xen.c xen.lds: Rename: xen/arch/i386/xeno.lds -> xen/arch/i386/xen.lds Many files: mvdir
* bitkeeper revision 1.378 (3f27c2beWNYX6OSWHkL7l2xJ5Qm9ng)kaf24@scramble.cl.cam.ac.uk2003-07-301-202/+0
| | | | | | perfc_defn.h, perfc.h, lib.h, vsprintf.c, perfc.c: Cleaned up Xen performance counter mechanism.
* bitkeeper revision 1.94 (3e5a4f5fzVaxemjfCt0N0OH8PYPiuw)iap10@labyrinth.cl.cam.ac.uk2003-02-241-0/+713
Rename xen-2.4.16 to just "xen" to reflect that it hasn't got any relation to the Linux kernel version.