aboutsummaryrefslogtreecommitdiffstats
path: root/linux_mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux_mtd.c')
-rw-r--r--linux_mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux_mtd.c b/linux_mtd.c
index 102cd7d8..b3b84222 100644
--- a/linux_mtd.c
+++ b/linux_mtd.c
@@ -500,7 +500,7 @@ static int linux_mtd_init(void)
int ret = 1;
struct linux_mtd_data *data = NULL;
- param = extract_programmer_param("dev");
+ param = extract_programmer_param_str("dev");
if (param) {
char *endptr;