Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129897
b: refs/heads/master
c: 8115692
h: refs/heads/master
i:
  129895: 4e9521f
v: v3
  • Loading branch information
Pavel Roskin authored and Linus Torvalds committed Jan 17, 2009
1 parent d9fa1e8 commit 47e3a23
Show file tree
Hide file tree
Showing 2 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: 0d54ee1c7850a954026deec4cd4885f331da35cc
refs/heads/master: 81156928f8fe31621e467490b9d441c0285998c3
4 changes: 2 additions & 2 deletions trunk/drivers/firmware/dell_rbu.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static ssize_t read_rbu_image_type(struct kobject *kobj,
{
int size = 0;
if (!pos)
size = sprintf(buffer, "%s\n", image_type);
size = scnprintf(buffer, count, "%s\n", image_type);
return size;
}

Expand Down Expand Up @@ -648,7 +648,7 @@ static ssize_t read_rbu_packet_size(struct kobject *kobj,
int size = 0;
if (!pos) {
spin_lock(&rbu_data.lock);
size = sprintf(buffer, "%lu\n", rbu_data.packetsize);
size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize);
spin_unlock(&rbu_data.lock);
}
return size;
Expand Down

0 comments on commit 47e3a23

Please sign in to comment.