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:
parent
77d10002bf
commit
9412da725b
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ updateFileSystemEntries ()
|
||||||
// XXX Due to bug #1126575 - MNTTAB temporarily goes to
|
// XXX Due to bug #1126575 - MNTTAB temporarily goes to
|
||||||
// size 0 during automounter updates. The file stats
|
// size 0 during automounter updates. The file stats
|
||||||
// OK, but has no data in it.
|
// OK, but has no data in it.
|
||||||
pollfd poll_fd;
|
struct pollfd poll_fd;
|
||||||
while (mount_table_stat.st_size == 0) {
|
while (mount_table_stat.st_size == 0) {
|
||||||
(void)poll (&poll_fd, 0, 100);
|
(void)poll (&poll_fd, 0, 100);
|
||||||
// Must use lstat here; mtab is often a symlink
|
// Must use lstat here; mtab is often a symlink
|
||||||
|
|
Loading…
Reference in a new issue