Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269300
b: refs/heads/master
c: fe35317
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Jarosch authored and Pekka Enberg committed Oct 18, 2011
1 parent 165e131 commit 8e046b0
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: ab067e99d22ec78ff646de1283348729d1aa66d4
refs/heads/master: fe353178653b15add8626f5474842601be160281
2 changes: 1 addition & 1 deletion trunk/tools/slub/slabinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ static void read_slab_dir(void)
switch (de->d_type) {
case DT_LNK:
alias->name = strdup(de->d_name);
count = readlink(de->d_name, buffer, sizeof(buffer));
count = readlink(de->d_name, buffer, sizeof(buffer)-1);

if (count < 0)
fatal("Cannot read symlink %s\n", de->d_name);
Expand Down

0 comments on commit 8e046b0

Please sign in to comment.