summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devices/gdevijs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/devices/gdevijs.c b/devices/gdevijs.c
index 5520716ad..a2e21ea90 100644
--- a/devices/gdevijs.c
+++ b/devices/gdevijs.c
@@ -827,6 +827,10 @@ gsijs_open(gx_device *dev)
827 if (code < 0) 827 if (code < 0)
828 return code; 828 return code;
829 829
830 while (dev->child)
831 dev = dev->child;
832 ijsdev = (gx_device_ijs *)dev;
833
830 if (use_outputfd) { 834 if (use_outputfd) {
831 /* Note: dup() may not be portable to all interesting IJS 835 /* Note: dup() may not be portable to all interesting IJS
832 platforms. In that case, this branch should be #ifdef'ed out. 836 platforms. In that case, this branch should be #ifdef'ed out.