summaryrefslogtreecommitdiffstats
path: root/dmidecodemodule.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 /dmidecodemodule.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 'dmidecodemodule.c')
-rw-r--r--dmidecodemodule.c2
1 files changed, 1 insertions, 1 deletions
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();