Finished port of lcdproc to Solaris.
This commit is contained in:
1 parent
a1be5b7039
commit
b227f3cad9
6 files changed
+222
-9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user