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 --- dmidecodemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dmidecodemodule.c') diff --git a/dmidecodemodule.c b/dmidecodemodule.c index 92fe3d4..a36b811 100644 --- a/dmidecodemodule.c +++ b/dmidecodemodule.c @@ -74,7 +74,7 @@ done: free(buf); if(!found && !(opt.flags & FLAG_QUIET)) - catsprintf(buffer, "# No SMBIOS nor DMI entry point found, sorry.\n"); + catsprintf(buffer, -1, "# No SMBIOS nor DMI entry point found, sorry.\n"); exit_free: //Py_Finalize(); -- cgit