summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/init.rc6
-rw-r--r--mtdutils/flash_image.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 554d4e634..9f0ef5798 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -38,9 +38,9 @@ on property:ro.debuggable=1
write /sys/class/android_usb/android0/idProduct D001
write /sys/class/android_usb/android0/functions adb
write /sys/class/android_usb/android0/enable 1
- write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
- write /sys/class/android_usb/android0/iProduct $ro.product.model
- write /sys/class/android_usb/android0/iSerial $ro.serialno
+ write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
+ write /sys/class/android_usb/android0/iProduct ${ro.product.model}
+ write /sys/class/android_usb/android0/iSerial ${ro.serialno}
start adbd
# Restart adbd so it can run as root
diff --git a/mtdutils/flash_image.c b/mtdutils/flash_image.c
index 8e0e8d594..a39d60001 100644
--- a/mtdutils/flash_image.c
+++ b/mtdutils/flash_image.c
@@ -42,7 +42,7 @@ void die(const char *msg, ...) {
}
fprintf(stderr, "%s\n", buf);
- LOGE("%s\n", buf);
+ ALOGE("%s\n", buf);
exit(1);
}