Skip to content

Commit 98b1af6

Browse files
committed
i
1 parent 3615212 commit 98b1af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

decompression4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ char decr1[]=".decompressed";
2929
fd2=open(open_encr,O_RDONLY);
3030
if(fd2!=0)
3131
printf("ENCRYPTED FILE IS OPENED\n");
32-
fd3=open(decr,O_RDWR);
32+
fd3=open(decr,O_RDWR | O_CREAT);
3333
if(fd3!=0)
3434
{
3535
printf("main file is opened\n");

0 commit comments

Comments
 (0)