Added forgotten space between kernel build date and time.

Also prepare uname to return the build SVN revision number,
which will work only if I could figure out how to define it from Jamfile.
Or, better, in build/jam/BuildSetup. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20023 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2007-01-30 22:30:01 +00:00
parent e327ea521a
commit 7029621374

View File

@ -26,7 +26,13 @@ uname(struct utsname *info)
get_system_info(&systemInfo);
strlcpy(info->sysname, "Haiku", sizeof(info->sysname));
strlcpy(info->version, systemInfo.kernel_build_date, sizeof(info->version));
info->version[0] = '\0';
#ifdef HAIKU_REVISION
snprintf(info->version, sizeof(info->version), "r%d ", HAIKU_REVISION);
#endif
strlcat(info->version, systemInfo.kernel_build_date, sizeof(info->version));
strlcat(info->version, " ", sizeof(info->version));
strlcat(info->version, systemInfo.kernel_build_time, sizeof(info->version));
snprintf(info->release, sizeof(info->release), "%lld", systemInfo.kernel_version);