When using O_CREAT, the mode should be specified.

Change-Id: Id364072fce62388eba47207a97800eb185480633
1 file changed