Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2831
b: refs/heads/master
c: f31f5f0
h: refs/heads/master
i:
  2829: af5b726
  2827: c0a93ec
  2823: f2fad69
  2815: 17249d3
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jun 22, 2005
1 parent 808f4c1 commit 15462d3
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6a17944ca12229036a6d8d48be1b5eb51204fcf8
refs/heads/master: f31f5f051269746179b01017fc5e3dcf6b37c67e
3 changes: 1 addition & 2 deletions trunk/net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ int sock_map_fd(struct socket *sock)
goto out;
}

sprintf(name, "[%lu]", SOCK_INODE(sock)->i_ino);
this.len = sprintf(name, "[%lu]", SOCK_INODE(sock)->i_ino);
this.name = name;
this.len = strlen(name);
this.hash = SOCK_INODE(sock)->i_ino;

file->f_dentry = d_alloc(sock_mnt->mnt_sb->s_root, &this);
Expand Down

0 comments on commit 15462d3

Please sign in to comment.