diff options
author | Michael I. Bushnell <mib@gnu.org> | 1993-09-20 16:50:24 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1993-09-20 16:50:24 +0000 |
commit | 66f9d81ea7e23dd0fd2e459b999e38c7a25da95d (patch) | |
tree | aa4b0f9703cfff6b30bd715588b60b93cd6dc8bb /mkbootfs | |
parent | b0de32b1ee9657dfe61ad704c8c97b27d9c8e094 (diff) |
Formerly mkbootfs.c.~5~
Diffstat (limited to 'mkbootfs')
-rw-r--r-- | mkbootfs/mkbootfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkbootfs/mkbootfs.c b/mkbootfs/mkbootfs.c index e2599da8..cd4cac05 100644 --- a/mkbootfs/mkbootfs.c +++ b/mkbootfs/mkbootfs.c @@ -68,7 +68,7 @@ main (int argc, char **argv) exit (1); } - newdoto = open (argv[2], O_WRONLY | O_CREAT, 0666); + newdoto = open (argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0666); if (newdoto == -1) { perror (argv[2]); |