1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

libtt/tt_file_system.C: coverity CID 86024; array vs singlton

This commit is contained in:
Jon Trulson 2018-03-31 19:05:35 -06:00
parent 77d10002bf
commit 9412da725b

View file

@ -443,7 +443,7 @@ updateFileSystemEntries ()
// XXX Due to bug #1126575 - MNTTAB temporarily goes to
// size 0 during automounter updates. The file stats
// OK, but has no data in it.
pollfd poll_fd;
struct pollfd poll_fd;
while (mount_table_stat.st_size == 0) {
(void)poll (&poll_fd, 0, 100);
// Must use lstat here; mtab is often a symlink