From 9412da725ba0979a3fd6a8abd580dfd36504d903 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 31 Mar 2018 19:05:35 -0600 Subject: [PATCH] libtt/tt_file_system.C: coverity CID 86024; array vs singlton --- cde/lib/tt/lib/util/tt_file_system.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1