summaryrefslogtreecommitdiff
blob: c7f146f4d7716901ba10e8f8baae7c76f371b257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nru slmodem-2.9.11-20080817.orig/modem/modem_datafile.c slmodem-2.9.11-20080817/modem/modem_datafile.c
--- slmodem-2.9.11-20080817.orig/modem/modem_datafile.c	2008-03-29 12:04:16.000000000 +0000
+++ slmodem-2.9.11-20080817/modem/modem_datafile.c	2009-03-03 22:02:01.000000000 +0000
@@ -111,7 +111,7 @@
 	int ret = -1;
 	int fd;
 
-	fd = open(file_name,O_CREAT|O_WRONLY);
+	fd = open(file_name,O_CREAT|O_WRONLY, 0600);
 	if(fd < 0)
 		return -errno;