Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334503
b: refs/heads/master
c: 212ba90
h: refs/heads/master
i:
  334501: fc1f401
  334499: 7247c40
  334495: c44e811
v: v3
  • Loading branch information
Sasha Levin authored and J. Bruce Fields committed Oct 17, 2012
1 parent d435329 commit 96c2b4e
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: cd0b16c1c3cda12dbed1f8de8f1a9b0591990724
refs/heads/master: 212ba90696ab4884e2025b0b13726d67aadc2cd4
4 changes: 2 additions & 2 deletions trunk/net/sunrpc/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,11 +1409,11 @@ static ssize_t read_flush(struct file *file, char __user *buf,
size_t count, loff_t *ppos,
struct cache_detail *cd)
{
char tbuf[20];
char tbuf[22];
unsigned long p = *ppos;
size_t len;

sprintf(tbuf, "%lu\n", convert_to_wallclock(cd->flush_time));
snprintf(tbuf, sizeof(tbuf), "%lu\n", convert_to_wallclock(cd->flush_time));
len = strlen(tbuf);
if (p >= len)
return 0;
Expand Down

0 comments on commit 96c2b4e

Please sign in to comment.