Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72238
b: refs/heads/master
c: 891ff65
h: refs/heads/master
v: v3
  • Loading branch information
Jes Sorensen authored and Rusty Russell committed Oct 23, 2007
1 parent 573b081 commit 035d5cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: babed5c00225f109d6ebea368ad2deea2abcce32
refs/heads/master: 891ff65ff50bb6affdaebb2cda3a4c58a6442b4d
2 changes: 1 addition & 1 deletion trunk/drivers/lguest/hypercalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,6 @@ void write_timestamp(struct lguest *lg)
{
struct timespec now;
ktime_get_real_ts(&now);
if (put_user(now, &lg->lguest_data->time))
if (copy_to_user(&lg->lguest_data->time, &now, sizeof(struct timespec)))
kill_guest(lg, "Writing timestamp");
}

0 comments on commit 035d5cb

Please sign in to comment.