Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20176
b: refs/heads/master
c: 80ba250
h: refs/heads/master
v: v3
  • Loading branch information
David Binderman authored and David S. Miller committed Feb 10, 2006
1 parent d7322b7 commit d313ad9
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: d93077fb0e7cb9d4f4094a649501d840c55fdc8b
refs/heads/master: 80ba250e59ced808a8c9b79560938bbe4509c0a7
2 changes: 1 addition & 1 deletion trunk/net/irda/irnet/irnet_irda.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ irnet_daddr_to_dname(irnet_socket * self)
{
/* Yes !!! Get it.. */
strlcpy(self->rname, discoveries[i].info, sizeof(self->rname));
self->rname[NICKNAME_MAX_LEN + 1] = '\0';
self->rname[sizeof(self->rname) - 1] = '\0';
DEBUG(IRDA_SERV_INFO, "Device 0x%08x is in fact ``%s''.\n",
self->daddr, self->rname);
kfree(discoveries);
Expand Down

0 comments on commit d313ad9

Please sign in to comment.