Correct a bug in the -S truncation mode where the mode was not being passed
commitc7daadb1272f8ab6d736de08f5e052cfef7785fd
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Jun 2007 19:28:18 +0000 (19 19:28 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 19 Jun 2007 19:28:18 +0000 (19 19:28 +0000)
tree6527040a2cff8234bc3329dc386816dfc9ca9103
parent5dde079eb1ff4bf42ff55ba51ed42f4665dc20a9
Correct a bug in the -S truncation mode where the mode was not being passed
to open(2), resulting in new files being created with weird permissions.
usr.sbin/vnconfig/vnconfig.c