summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/copyright9
-rw-r--r--src/dmidecode.c10
-rw-r--r--src/dmidecodemodule.c2
3 files changed, 13 insertions, 8 deletions
diff --git a/debian/copyright b/debian/copyright
index 352e6d5..10ccba4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -12,8 +12,6 @@ It was downloaded from http://projects.autonomy.net.au/dmidecode/
Upstream Author: Nima Talebi <nima@autonomy.net.au>
-Copyright: 2008 Nima Talebi
-
License: GPLv3
The Debian packaging is (C) 2008, Nima Talebi <nima@it.net.au> and is licensed
@@ -26,3 +24,10 @@ DMIDecode
Developer & Maintainer: Jean Delvare <khali@linux-fr.org>
Original Author: Alan Cox <alan@redhat.com>
+
+
+Copyrights
+==========
+Copyright 2000-2002 Alan Cox <alan@redhat.com>
+Copyright 2002-2008 Jean Delvare <khali@linux-fr.org>
+Copyright 2008 Nima Talebi <nima@it.net.au>
diff --git a/src/dmidecode.c b/src/dmidecode.c
index 874720d..f3e10b1 100644
--- a/src/dmidecode.c
+++ b/src/dmidecode.c
@@ -4673,13 +4673,13 @@ int smbios_decode_set_version(u8 *buf, const char *devmem, PyObject** pydata) {
u16 ver = (buf[0x06] << 8) + buf[0x07];
/* Some BIOS attempt to encode version 2.3.1 as 2.31, fix it up */
if(ver == 0x021F) {
- sprintf(vbuf, "SMBIOS 2.3 present. (Version fixup 2.31 -> 2.3).");
+ sprintf(vbuf, "SMBIOS 2.3 present (Version fixup 2.31 -> 2.3)");
ver = 0x0203;
} else {
- sprintf(vbuf, "SMBIOS %i.%i present.", ver>>8, ver&0xFF);
+ sprintf(vbuf, "SMBIOS %i.%i present", ver>>8, ver&0xFF);
}
} else if(check == 0) {
- sprintf(vbuf, "No SMBIOS nor DMI entry point found, sorry G.");
+ sprintf(vbuf, "No SMBIOS nor DMI entry point found");
}
if(check == 1) {
if(*pydata) { Py_DECREF(*pydata); }
@@ -4710,9 +4710,9 @@ int legacy_decode_set_version(u8 *buf, const char *devmem, PyObject** pydata) {
int check = _legacy_decode_check(buf, devmem, pydata);
char vbuf[64]; bzero(vbuf, 64);
if(check == 1) {
- sprintf(vbuf, "Legacy DMI %i.%i present.", buf[0x0E]>>4, buf[0x0E]&0x0F);
+ sprintf(vbuf, "Legacy DMI %i.%i present", buf[0x0E]>>4, buf[0x0E]&0x0F);
} else if(check == 0) {
- sprintf(vbuf, "No SMBIOS nor DMI entry point found, sorry G.");
+ sprintf(vbuf, "No SMBIOS nor DMI entry point found");
}
if(check == 1) {
if(*pydata) { Py_DECREF(*pydata); }
diff --git a/src/dmidecodemodule.c b/src/dmidecodemodule.c
index 3030b97..31f4631 100644
--- a/src/dmidecodemodule.c
+++ b/src/dmidecodemodule.c
@@ -282,7 +282,7 @@ static PyMethodDef DMIDataMethods[] = {
PyMODINIT_FUNC initdmidecode(void) {
init();
- PyObject *module = Py_InitModule3((char *)"dmidecode", DMIDataMethods, "Testing");
+ PyObject *module = Py_InitModule3((char *)"dmidecode", DMIDataMethods, "Python extension module for dmidecode");
PyObject *version = PyString_FromString("2.10");
Py_INCREF(version);