Changeset 3317 for trunk/smartmontools/os_linux.cpp
- Timestamp:
- 04/19/11 19:42:54 (2 years ago)
- Files:
-
- 1 modified
-
trunk/smartmontools/os_linux.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/smartmontools/os_linux.cpp
r3293 r3317 2828 2828 { 2829 2829 struct utsname u; 2830 return strprintf("%s-%s", SMARTMONTOOLS_BUILD_HOST, 2831 (!uname(&u) ? u.release : "?")); 2830 if (!uname(&u)) 2831 return strprintf("%s-linux-%s", u.machine, u.release); 2832 else 2833 return SMARTMONTOOLS_BUILD_HOST; 2832 2834 } 2833 2835