Also show hardware architecture.
This commit is contained in:
@@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
#include "DebugReportGenerator.h"
|
#include "DebugReportGenerator.h"
|
||||||
|
|
||||||
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
#include <cpu_type.h>
|
#include <cpu_type.h>
|
||||||
#include <system_revision.h>
|
|
||||||
|
|
||||||
#include <AutoLocker.h>
|
#include <AutoLocker.h>
|
||||||
#include <Entry.h>
|
#include <Entry.h>
|
||||||
@@ -166,8 +167,9 @@ DebugReportGenerator::_GenerateReportHeader(BString& _output)
|
|||||||
usedSize, sizeof(usedSize)));
|
usedSize, sizeof(usedSize)));
|
||||||
_output << data;
|
_output << data;
|
||||||
}
|
}
|
||||||
|
utsname name;
|
||||||
data.SetToFormat("Haiku revision: %s\n", __get_haiku_revision());
|
uname(&name);
|
||||||
|
data.SetToFormat("Haiku revision: %s (%s)\n", name.version, name.machine);
|
||||||
_output << data;
|
_output << data;
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user