From 66f9d81ea7e23dd0fd2e459b999e38c7a25da95d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 20 Sep 1993 16:50:24 +0000 Subject: Formerly mkbootfs.c.~5~ --- mkbootfs/mkbootfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkbootfs') 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]); -- cgit v1.2.3