diff options
author | pulser <pulser@villainrom.co.uk> | 2013-01-04 12:21:55 +0000 |
---|---|---|
committer | pulser <pulser@villainrom.co.uk> | 2013-01-04 12:21:55 +0000 |
commit | ae45f13cbc5abcb502f90783133682959dc6c5eb (patch) | |
tree | 479c730e73f35612129c9521ea88a2e4d4118531 | |
parent | 3e61f1d12494ac0f456623681f12edf9b356245f (diff) | |
download | android_system_vold-jellybean.tar.gz android_system_vold-jellybean.tar.bz2 android_system_vold-jellybean.zip |
Increase cmdline size supported to 1024jellybean
For RK30xx devices that seem to include the full partition mappings
in their cmdline, making the cmdline ridiculously long and crashing
vold.
Change-Id: Ibcafbe584e4c034d60a45e9719f942066f2a7a48
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -162,7 +162,7 @@ static int parse_mount_flags(char *mount_flags) static int process_config(VolumeManager *vm) { FILE *fp; int n = 0; - char line[255]; + char line[1024]; Volume *vol = 0; if ((fp = fopen("/proc/cmdline", "r"))) { |