Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75687
b: refs/heads/master
c: eb36f4f
h: refs/heads/master
i:
  75685: 1787eb4
  75683: c2c3d46
  75679: 9daba7d
v: v3
  • Loading branch information
Karsten Keil authored and Linus Torvalds committed Jan 25, 2008
1 parent fa7e6ec commit b49e438
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 49914084e797530d9baaf51df9eda77babc98fa8
refs/heads/master: eb36f4fc019835cecf0788907f6cab774508087b
9 changes: 5 additions & 4 deletions trunk/drivers/isdn/capi/capidrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2332,13 +2332,14 @@ static int __init capidrv_init(void)

static void __exit capidrv_exit(void)
{
char rev[10];
char rev[32];
char *p;

if ((p = strchr(revision, ':')) != 0) {
strcpy(rev, p + 1);
p = strchr(rev, '$');
*p = 0;
strncpy(rev, p + 1, sizeof(rev));
rev[sizeof(rev)-1] = 0;
if ((p = strchr(rev, '$')) != 0)
*p = 0;
} else {
strcpy(rev, " ??? ");
}
Expand Down

0 comments on commit b49e438

Please sign in to comment.