2009-01-17 [colin] 3.7.0cvs37
[claws.git] / src / main.c
index af10176612683659a9fde468427bd1165ced5324..2a549474db8401b6651767adbf8aa712e5b04e9e 100644 (file)
@@ -2493,7 +2493,7 @@ static void install_memory_sighandler()
        struct sigaction act;
        int flags;
 
        struct sigaction act;
        int flags;
 
-       mem_notify_fd = open("/dev/mem_notify", O_RDONLY|O_NONBLOCK);
+       mem_notify_fd = g_open("/dev/mem_notify", O_RDONLY|O_NONBLOCK);
        if (mem_notify_fd == -1) {
                debug_print("/dev/mem_notify not available (%s)\n", 
                        strerror(errno));
        if (mem_notify_fd == -1) {
                debug_print("/dev/mem_notify not available (%s)\n", 
                        strerror(errno));