Correct a bug in the -S truncation mode where the mode was not being passed
commit8e990f3e488b1cc95a4fbb6e779ad298c2a2c585
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)
treeb652aa07a0a490cad1adb045749923468704a81c
parent258b1f1593f943b181a145b130fc9c4cc3072b70
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