summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/gigabeat-s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 8258e276c3..9e6edbbcbb 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -196,7 +196,7 @@ static void untar(int tar_fd)
{
int wc;
- fd = creat(path);
+ fd = creat(path, 0666);
if (fd < 0)
{
printf("failed to create file (%d)", fd);