pushing to dev
This commit is contained in:
@@ -39,7 +39,9 @@ int main(int argc, char **argv)
|
||||
close(out_fd);
|
||||
}
|
||||
|
||||
out_fd = open(optarg, O_WRONLY | O_CREAT | O_TRUNC);
|
||||
out_fd = open(optarg,
|
||||
O_WRONLY | O_CREAT | O_TRUNC,
|
||||
S_IRUSR | S_IWUSR);
|
||||
if (out_fd < 0) {
|
||||
fprintf(stderr, "failed to open output file %s\n", optarg);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user