Error reporting patch by Jarda Benkovsky

This commit is contained in:
gfk
2001-10-19 21:31:37 +00:00
parent 540f3fbcad
commit 2ac2b16c49
+4
View File
@@ -114,6 +114,10 @@ mem_init ()
#ifndef SOLARIS
if (!meminfo_fd) {
meminfo_fd = open ("/proc/meminfo", O_RDONLY);
if (meminfo_fd < 0) {
perror ("Can't open /proc/meminfo");
exit (1);
}
}
#endif