Index: trunk/psModules/src/detrend/pmDetrendDB.c
===================================================================
--- trunk/psModules/src/detrend/pmDetrendDB.c	(revision 9584)
+++ trunk/psModules/src/detrend/pmDetrendDB.c	(revision 10102)
@@ -131,5 +131,5 @@
     }
 
-    status = psIOBufferReadEmpty (buffer, 100, pipe->stdout);
+    status = psIOBufferReadEmpty (buffer, 100, pipe->fd_stdout);
     if (!status) {
         psError (PS_ERR_IO, false, "detselect is not responding");
@@ -226,5 +226,5 @@
         goto failure;
     }
-    status = psIOBufferReadEmpty (buffer, 100, pipe->stdout);
+    status = psIOBufferReadEmpty (buffer, 100, pipe->fd_stdout);
     if (!status) {
         psError (PS_ERR_IO, false, "detselect is not responding");
