Finished port of lcdproc to Solaris.

This commit is contained in:
cjdebenh committed 2000-12-20 00:39:16 +00:00
1 parent a1be5b7039
commit b227f3cad9
6 files changed
+222 -9

No files matched your search

+4
View File
@@ -51,7 +51,11 @@ get_fs (mounts fs[])
char line[256];
int x = 0, y;
#ifdef SOLARIS
mtab_fd = fopen ("/etc/mnttab", "r");
#else
mtab_fd = fopen ("/etc/mtab", "r");
#endif
// Get rid of old, unmounted filesystems...
memset (fs, 0, sizeof (mounts) * 256);