diff --git a/libov b/libov index c5376b2..42bdebf 160000 --- a/libov +++ b/libov @@ -1 +1 @@ -Subproject commit c5376b2389303db0f8feda0002fc2b9229ee6c06 +Subproject commit 42bdebffff6f198a00c905eb7b5e3d4841d20730 diff --git a/src/ovbox_version.cc b/src/ovbox_version.cc index 504e2d9..3ec9101 100644 --- a/src/ovbox_version.cc +++ b/src/ovbox_version.cc @@ -21,10 +21,19 @@ #include "ov_client_orlandoviols.h" #include "ov_render_tascar.h" #include +#include int main(int argc, char** argv) { - std::cout << get_libov_version() << "\n"; + struct utsname buffer; + errno = 0; + if(uname(&buffer) != 0) { + perror("uname"); + exit(EXIT_FAILURE); + } + std::cout << get_libov_version() << " " << buffer.sysname << " " + << buffer.release << " (" << buffer.machine << ")" + << "\n"; return 0; }