Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126289
b: refs/heads/master
c: 8c40188
h: refs/heads/master
i:
  126287: b0229f3
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Jan 6, 2009
1 parent 9b19914 commit 9ffe16d
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: ba84be2338d3a2b6020d39279335bb06fcd332e1
refs/heads/master: 8c4018884a49eb2c6c7ca90804f331b12983561c
2 changes: 1 addition & 1 deletion trunk/fs/char_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ __register_chrdev_region(unsigned int major, unsigned int baseminor,
cd->major = major;
cd->baseminor = baseminor;
cd->minorct = minorct;
strncpy(cd->name,name, 64);
strlcpy(cd->name, name, sizeof(cd->name));

i = major_to_index(major);

Expand Down

0 comments on commit 9ffe16d

Please sign in to comment.