changeset 24802:dc3406eef251

Replace hardcoded 0 by equivalent O_RDONLY
author reimar
date Sun, 21 Oct 2007 13:45:04 +0000
parents d555579c8c98
children e90b7faa8aec
files loader/win32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sun Oct 21 13:15:48 2007 +0000
+++ b/loader/win32.c	Sun Oct 21 13:45:04 2007 +0000
@@ -3560,7 +3560,7 @@
     if (strstr(cs1, "WINNOV.bmp"))
     {
 	int r;
-	r=open("/dev/null", 0);
+	r=open("/dev/null", O_RDONLY);
 	return r;
     }