Merge "Add radio HAL stub to the build list; fix format warning."
diff --git a/modules/Android.mk b/modules/Android.mk
index 2a58b3e..462081d 100644
--- a/modules/Android.mk
+++ b/modules/Android.mk
@@ -1,4 +1,14 @@
-hardware_modules := gralloc hwcomposer \
- usbaudio audio_remote_submix camera usbcamera sensors \
- input vehicle thermal vr
+hardware_modules := \
+ audio_remote_submix \
+ camera \
+ gralloc \
+ hwcomposer \
+ input \
+ radio \
+ sensors \
+ thermal \
+ usbaudio \
+ usbcamera \
+ vehicle \
+ vr
include $(call all-named-subdir-makefiles,$(hardware_modules))
diff --git a/modules/radio/radio_hw.c b/modules/radio/radio_hw.c
index fbf8c94..09f07b1 100644
--- a/modules/radio/radio_hw.c
+++ b/modules/radio/radio_hw.c
@@ -189,7 +189,7 @@
exit:
close(fd);
free(data);
- ALOGE_IF(ret != 0, "%s error %d", __func__, ret);
+ ALOGE_IF(ret != 0, "%s error %d", __func__, (int)ret);
return (int)ret;
}