Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218973
b: refs/heads/master
c: 12578f6
h: refs/heads/master
i:
  218971: a1a58a0
v: v3
  • Loading branch information
JiebingLi authored and Chris Ball committed Oct 23, 2010
1 parent 9793082 commit 1a23ead
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 53f3a9e26ed5a94bd3caf732e7635692cd3c4402
refs/heads/master: 12578f66b9058e63f193fbfe1552e1d1bfa361bb
3 changes: 2 additions & 1 deletion trunk/drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,8 @@ static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card)
* messages to tell when the card is present.
*/

sprintf(md->disk->disk_name, "mmcblk%d", devidx);
snprintf(md->disk->disk_name, sizeof(md->disk->disk_name),
"mmcblk%d", devidx);

blk_queue_logical_block_size(md->queue.queue, 512);

Expand Down

0 comments on commit 1a23ead

Please sign in to comment.