HomeFreeBSD

nandtool: Add missing mode for open() with O_CREAT

Description

nandtool: Add missing mode for open() with O_CREAT

If O_CREAT is given, open() needs a mode argument. Follow the umask by
passing 0666.

Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13607

Details

Provenance
jillesAuthored on
Reviewer
imp
Differential Revision
D13607: nandtool: Add missing mode for open() with O_CREAT
Parents
rS327210: Move arm specific man page to man4.arm subfolder
Branches
Unknown
Tags
Unknown