commit | 1f27821568065715d3235c0e690c42d0d7a413bc | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Thu Jul 16 10:44:15 2009 -0700 |
committer | San Mehat <san@google.com> | Thu Jul 16 11:41:33 2009 -0700 |
tree | e7137504d6072dcc2375d166c8d7bd464947c905 | |
parent | d8221d9869f9fe1031219e8f6cbcef0771d767fa [diff] [blame] |
vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some error display bugs (our printf doesnt support %m) Signed-off-by: San Mehat <san@google.com>
diff --git a/vold/blkdev.c b/vold/blkdev.c index 3167507..1482a1a 100644 --- a/vold/blkdev.c +++ b/vold/blkdev.c
@@ -73,7 +73,7 @@ } if (ioctl(fd, BLKGETSIZE, &blk->nr_sec)) { - LOGE("Unable to get device size (%m)"); + LOGE("Unable to get device size (%s)", strerror(errno)); return -errno; } close(fd);