OSDN Git Service

Add a mode to the open(2) call when creating the output file.
authorKen Sumrall <ksumrall@android.com>
Thu, 6 Jan 2011 05:00:03 +0000 (21:00 -0800)
committerKen Sumrall <ksumrall@android.com>
Thu, 6 Jan 2011 05:00:03 +0000 (21:00 -0800)
commite246d8693582b3d952fa52c28cd2ea97e8a7aa14
treeb7f289a7f90939ef5a154d1048e1d80626edcbbf
parentfe4a03182b5b17d333511c72406f926a791345d3
Add a mode to the open(2) call when creating the output file.

Without this, the mode of the created file is pulled from
garbage on the stack.

Change-Id: If825c5adbf99ea9a3e0b8ed1f1c0135ca732e6e3
ext4_utils/simg2img.c