summaryrefslogtreecommitdiffstats
path: root/src/sysinfolibsysfs.cpp
diff options
context:
space:
mode:
authorNiklas Goby2011-04-09 14:19:04 +0200
committerNiklas Goby2011-04-09 14:19:04 +0200
commitd2fd3f58269f77ff4d2d60178ee78558d17124fa (patch)
tree67ab20e1f3c2cd9a434932d3fe7ad22b81f984b4 /src/sysinfolibsysfs.cpp
parentsome changes in the sysinfolibfs clas. we can now get the mainboard serial (diff)
downloadfbgui-d2fd3f58269f77ff4d2d60178ee78558d17124fa.tar.gz
fbgui-d2fd3f58269f77ff4d2d60178ee78558d17124fa.tar.xz
fbgui-d2fd3f58269f77ff4d2d60178ee78558d17124fa.zip
inserted the sysinfolibsysfs methods intho the sysinfo class
added the mainboard serial number to the hardwarehash computation in the fbgui class (method generatePOSTData). just appended the serial to the mac address without separating char
Diffstat (limited to 'src/sysinfolibsysfs.cpp')
-rw-r--r--src/sysinfolibsysfs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysinfolibsysfs.cpp b/src/sysinfolibsysfs.cpp
index d9bbac8..2c9aafc 100644
--- a/src/sysinfolibsysfs.cpp
+++ b/src/sysinfolibsysfs.cpp
@@ -91,7 +91,7 @@ QString SysInfoLibsysfs::getInfoMainboardSerial(){
}
qDebug() << "attrlist is null!";
sysfs_close_class_device(class_device);
- return null;
+ return NULL;
}
void SysInfoLibsysfs::getInfoAboutClassNet()