summaryrefslogtreecommitdiffstats
path: root/catsprintf.c
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-02 07:02:05 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-02 07:02:05 +0000
commit831e6bd3e28b85a87f68917bb928b1f3ce7601ce (patch)
treee3523881346cdf8c318fe7ec163f11ad7d391617 /catsprintf.c
parent0b6d2fb3e16489f5bc349e2fdc214636c478bba0 (diff)
downloadpython-dmidecode-831e6bd3e28b85a87f68917bb928b1f3ce7601ce.tar.gz
python-dmidecode-831e6bd3e28b85a87f68917bb928b1f3ce7601ce.tar.xz
python-dmidecode-831e6bd3e28b85a87f68917bb928b1f3ce7601ce.zip
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
Diffstat (limited to 'catsprintf.c')
-rw-r--r--catsprintf.c2
1 files changed, 1 insertions, 1 deletions
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*/