From: Jon Trulson Date: Sun, 1 Apr 2018 01:05:35 +0000 (-0600) Subject: libtt/tt_file_system.C: coverity CID 86024; array vs singlton X-Git-Tag: 2.2.4a~153 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9412da725ba0979a3fd6a8abd580dfd36504d903;p=oweals%2Fcde.git libtt/tt_file_system.C: coverity CID 86024; array vs singlton --- diff --git a/cde/lib/tt/lib/util/tt_file_system.C b/cde/lib/tt/lib/util/tt_file_system.C index 05c81b71..368d3401 100644 --- a/cde/lib/tt/lib/util/tt_file_system.C +++ b/cde/lib/tt/lib/util/tt_file_system.C @@ -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