Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267628
b: refs/heads/master
c: e54bbc6
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 4effcb2 commit aa6bd4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dec317fd6accfdba4daff13aa4d9f5abde02b347
refs/heads/master: e54bbc6471d7f788d829e5f3b5922960048fbff7
9 changes: 9 additions & 0 deletions trunk/drivers/staging/hv/tools/hv_kvp_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@ void kvp_get_os_info(void)
os_build = uts_buf.release;
processor_arch = uts_buf.machine;

/*
* The current windows host (win7) expects the build
* string to be of the form: x.y.z
* Strip additional information we may have.
*/
p = strchr(os_build, '-');
if (p)
*p = '\0';

file = fopen("/etc/SuSE-release", "r");
if (file != NULL)
goto kvp_osinfo_found;
Expand Down

0 comments on commit aa6bd4a

Please sign in to comment.