summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/drivers
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-04-21 19:45:30 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-04-21 19:45:30 (GMT)
commitd53ae4b2067e5e7c4f5a0b9a234a89e0582c2e84 (patch)
tree0feee07c0a043065d54383ca019e960e93e06f78 /uClinux-2.4.20-uc1/drivers
parenta9697885d7d80894c454cfbe69adbcba1088c84b (diff)
downloadopenipcam-d53ae4b2067e5e7c4f5a0b9a234a89e0582c2e84.zip
openipcam-d53ae4b2067e5e7c4f5a0b9a234a89e0582c2e84.tar.gz
openipcam-d53ae4b2067e5e7c4f5a0b9a234a89e0582c2e84.tar.bz2
gcc 3.4.6 requirements
Diffstat (limited to 'uClinux-2.4.20-uc1/drivers')
-rw-r--r--uClinux-2.4.20-uc1/drivers/mtd/mtdblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uClinux-2.4.20-uc1/drivers/mtd/mtdblock.c b/uClinux-2.4.20-uc1/drivers/mtd/mtdblock.c
index fdea52d..d4d19c8 100644
--- a/uClinux-2.4.20-uc1/drivers/mtd/mtdblock.c
+++ b/uClinux-2.4.20-uc1/drivers/mtd/mtdblock.c
@@ -432,7 +432,7 @@ static void handle_mtdblock_request(void)
res = 0;
if (MINOR(req->rq_dev) >= MAX_MTD_DEVICES)
- panic(__FUNCTION__": minor out of bound");
+ panic("%s: minor out of bound", __FUNCTION__);
if ((req->sector + req->current_nr_sectors) > (mtdblk->mtd->size >> 9))
goto end_req;