Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350162
b: refs/heads/master
c: f0dbe81
h: refs/heads/master
v: v3
  • Loading branch information
Miroslav Lichvar authored and John Stultz committed Jan 16, 2013
1 parent 9f8d94c commit b492e4b
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: 2353b47bffe4e6ab39042f470c55d41bb3ff3846
refs/heads/master: f0dbe81f0e7c39783ad25d9084bbcda131508993
2 changes: 1 addition & 1 deletion trunk/kernel/posix-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock,

err = kc->clock_adj(which_clock, &ktx);

if (!err && copy_to_user(utx, &ktx, sizeof(ktx)))
if (err >= 0 && copy_to_user(utx, &ktx, sizeof(ktx)))
return -EFAULT;

return err;
Expand Down

0 comments on commit b492e4b

Please sign in to comment.