Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224433
b: refs/heads/master
c: dda0b38
h: refs/heads/master
i:
  224431: 9bd8045
v: v3
  • Loading branch information
Vasiliy Kulikov authored and David S. Miller committed Nov 17, 2010
1 parent f4a1b83 commit 0454ff6
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: 9ea19481db31d614f729f346bdcf28e4e60ff14a
refs/heads/master: dda0b38692a7298f433b92b1329867b1ecabb4bb
4 changes: 2 additions & 2 deletions trunk/net/ipv4/tcp_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static int tcpprobe_sprint(char *tbuf, int n)
struct timespec tv
= ktime_to_timespec(ktime_sub(p->tstamp, tcp_probe.start));

return snprintf(tbuf, n,
return scnprintf(tbuf, n,
"%lu.%09lu %pI4:%u %pI4:%u %d %#x %#x %u %u %u %u\n",
(unsigned long) tv.tv_sec,
(unsigned long) tv.tv_nsec,
Expand All @@ -174,7 +174,7 @@ static ssize_t tcpprobe_read(struct file *file, char __user *buf,
return -EINVAL;

while (cnt < len) {
char tbuf[128];
char tbuf[164];
int width;

/* Wait for data in buffer */
Expand Down

0 comments on commit 0454ff6

Please sign in to comment.