From: Scott Leggett <scott@sl.id.au>
Date: Mon, 5 Nov 2012 03:11:01 +1100
Subject: Fix call to open with missing argument.

---
 spout.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spout.c b/spout.c
index 464e2ac..953aceb 100644
--- a/spout.c
+++ b/spout.c
@@ -148,7 +148,7 @@ void pceAppProc(int cnt)
 				int fa;
 				hiScore[0] = score;
 				hiScore[1] = height;
-				if((fa = open(score_path, O_CREAT | O_WRONLY | O_TRUNC)) != -1) {
+				if((fa = open(score_path, O_CREAT | O_WRONLY | O_TRUNC, S_IRUSR | S_IWUSR)) != -1) {
 					if(write(fa, (void *) hiScore, 8) != -1) {
                         close(fa);
                     } else {
