From 831e6bd3e28b85a87f68917bb928b1f3ce7601ce Mon Sep 17 00:00:00 2001 From: nima Date: Wed, 2 Jul 2008 07:02:05 +0000 Subject: WIP - Adding h->type value to catsprintf (as int major), later will add minor too, and finally will replace the buffer with a linked list of structs, which will be added to the python dictionary/list. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@9 abc39116-655e-4be6-ad55-d661dc543056 --- catsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'catsprintf.c') diff --git a/catsprintf.c b/catsprintf.c index e0914c4..7d000cd 100644 --- a/catsprintf.c +++ b/catsprintf.c @@ -1,6 +1,6 @@ #include "catsprintf.h" -int catsprintf(char *buf, const char *format, ...) { +int catsprintf(char *buf, int major, const char *format, ...) { static int i = 0; va_list arg; /*will point to each unnamed argument in turn*/ -- cgit