whoops
Change-Id: I9c46bb443c43186fda1ae71e49278bd1a7d6aa6f
This commit is contained in:
parent
02c360501b
commit
cd8af06d64
@ -27,7 +27,7 @@ int cmd_bml_restore_raw_partition(const char *partition, const char *filename)
|
||||
{
|
||||
printf("bml restore\n");
|
||||
int fd = open("/dev/block/bml7", O_RDWR | O_LARGEFILE);
|
||||
return ioctl(fd, BML_UNLOCK_ALL, 0);
|
||||
ioctl(fd, BML_UNLOCK_ALL, 0);
|
||||
|
||||
char tmp[PATH_MAX];
|
||||
sprintf("dd if=%s of=/dev/block/bml7 bs=4096", filename);
|
||||
|
Loading…
Reference in New Issue
Block a user