X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fmain.c;h=2a549474db8401b6651767adbf8aa712e5b04e9e;hp=af10176612683659a9fde468427bd1165ced5324;hb=180dd13e4f3c5997954c4a27eee2fea51f1842b3;hpb=c0bf5693a4ccb0f7d812bb8cf293ba278b581ba8 diff --git a/src/main.c b/src/main.c index af1017661..2a549474d 100644 --- a/src/main.c +++ b/src/main.c @@ -2493,7 +2493,7 @@ static void install_memory_sighandler() 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));