Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140857
b: refs/heads/master
c: e74da52
h: refs/heads/master
i:
  140855: c4afaf2
v: v3
  • Loading branch information
Steven Rostedt committed Mar 5, 2009
1 parent 223362b commit 77db9bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 2dc5d12b1f43134e9bc5037f69f4739cfdfab93e
refs/heads/master: e74da5235cec6cb71eb338c987f876ecc793138b
4 changes: 2 additions & 2 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, size_t cnt)

cnt -= ret;

s->readpos += len;
s->readpos += cnt;
return cnt;
}

Expand All @@ -380,7 +380,7 @@ ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt)
if (!ret)
return -EFAULT;

s->readpos += len;
s->readpos += cnt;
return cnt;
}

Expand Down

0 comments on commit 77db9bf

Please sign in to comment.