summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-06-10 18:58:08 +0200
committerDavid Sommerseth <davids@redhat.com>2009-06-10 18:58:08 +0200
commita05ca0f0e588031bde35143ba27481f2c5fdea70 (patch)
treeb2a1998a4d34de3bf1cc48fc5247928fab6f5a15 /src
parent65c9384ec9b6e265aba11227ffa37ae7a6a787d1 (diff)
downloadpython-dmidecode-a05ca0f0e588031bde35143ba27481f2c5fdea70.tar.gz
python-dmidecode-a05ca0f0e588031bde35143ba27481f2c5fdea70.tar.xz
python-dmidecode-a05ca0f0e588031bde35143ba27481f2c5fdea70.zip
Fixed missing include and disabled printing errors from stderr
Diffstat (limited to 'src')
-rw-r--r--src/dmierror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dmierror.c b/src/dmierror.c
index 7e13a93..d64b4b9 100644
--- a/src/dmierror.c
+++ b/src/dmierror.c
@@ -29,13 +29,13 @@
* @author David Sommerseth <davids@redhat.com>
*/
-// #include <Python.h>
+#include <Python.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#define PRINT_ERRORS 1
+// #define PRINT_ERRORS // Enable for copy of error messages to stderr
/**
* A more flexible function for setting error messages. This function