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 | d3c7bfde1946b573203bfc360deb886c56e34891 (patch) | |
tree | 55aa00df005283e0992b436e9b67a72a3ffa717a /mkbootfs/mkbootfs.c | |
parent | 1d9a48eb71bea19452d25d9f9d9ca46a76bfd872 (diff) |
Formerly mkbootfs.c.~5~
Diffstat (limited to 'mkbootfs/mkbootfs.c')
-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]); |