fix fchown fallback on arches without chown(2)
authorSamuel Holland <samuel@sholland.org>
Sat, 27 May 2017 20:20:01 +0000 (15:20 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 28 May 2017 02:04:12 +0000 (22:04 -0400)
commit81f4a1200a58a84c83e73da645d4f226a8785bdf
tree502599b53239fdd4051fda952524d1d1c904ff6c
parent97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9
fix fchown fallback on arches without chown(2)

The flags argument was missing, causing uninitalized data to be passed
to fchownat(2). The correct value of flags should match the fallback for
chown(3).
src/unistd/fchown.c