Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226224
b: refs/heads/master
c: 0e72cc8
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent 06e91df commit 6bcf040
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 76e4a9a7164263d8ffe816920f84a91e7dfee444
refs/heads/master: 0e72cc8b8d48ba05e705f432fb99aaa0ea6737c6
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/saa7164/saa7164-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ static int saa7164_dev_setup(struct saa7164_dev *dev)
atomic_inc(&dev->refcount);
dev->nr = saa7164_devcount++;

sprintf(dev->name, "saa7164[%d]", dev->nr);
snprintf(dev->name, sizeof(dev->name), "saa7164[%d]", dev->nr);

mutex_lock(&devlist);
list_add_tail(&dev->devlist, &saa7164_devlist);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/saa7164/saa7164.h
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ struct saa7164_dev {
int nr;
int hwrevision;
u32 board;
char name[32];
char name[16];

/* firmware status */
struct saa7164_fw_status fw_status;
Expand Down

0 comments on commit 6bcf040

Please sign in to comment.