Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189498
b: refs/heads/master
c: 309361e
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed Apr 6, 2010
1 parent a032bd3 commit 0d1aca9
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: 5fbfb18d7a5b846946d52c4a10e3aaa213ec31b6
refs/heads/master: 309361e09ca9e9670dc8664e5d14125bf82078af
2 changes: 1 addition & 1 deletion trunk/fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ static ssize_t pagemap_read(struct file *file, char __user *buf,
start_vaddr = end;

len = min(count, PM_ENTRY_BYTES * pm.pos);
if (copy_to_user(buf, pm.buffer, len) < 0) {
if (copy_to_user(buf, pm.buffer, len)) {
ret = -EFAULT;
goto out_free;
}
Expand Down

0 comments on commit 0d1aca9

Please sign in to comment.