Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361112
b: refs/heads/master
c: 2e85d67
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gang authored and David S. Miller committed Mar 8, 2013
1 parent eabdd9b commit 1002879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9169323308a63fdd967920b9c63a00394ae7c85
refs/heads/master: 2e85d67690cf3ea3f074a6e872f675226883fe7f
1 change: 1 addition & 0 deletions trunk/net/rds/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void rds_stats_info_copy(struct rds_info_iterator *iter,
for (i = 0; i < nr; i++) {
BUG_ON(strlen(names[i]) >= sizeof(ctr.name));
strncpy(ctr.name, names[i], sizeof(ctr.name) - 1);
ctr.name[sizeof(ctr.name) - 1] = '\0';
ctr.value = values[i];

rds_info_copy(iter, &ctr, sizeof(ctr));
Expand Down

0 comments on commit 1002879

Please sign in to comment.