Revision: 48410
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48410&view=rev
Author:   starseeker
Date:     2012-01-11 17:41:34 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
If we get FBIO_NULL, return an error. CID 269

Modified Paths:
--------------
    brlcad/trunk/src/libfb/fb_obj.c

Modified: brlcad/trunk/src/libfb/fb_obj.c
===================================================================
--- brlcad/trunk/src/libfb/fb_obj.c     2012-01-11 17:41:16 UTC (rev 48409)
+++ brlcad/trunk/src/libfb/fb_obj.c     2012-01-11 17:41:34 UTC (rev 48410)
@@ -827,8 +827,8 @@
     }
 
     if ((ifp = fb_open(argv[2], width, height)) == FBIO_NULL) {
-       bu_log("fb_open: bad device - ",
-                        argv[2], (char *)NULL);
+       bu_log("fb_open: bad device - ", argv[2], (char *)NULL);
+       return BRLCAD_ERROR;
     }
 
     if (fb_ioinit(ifp) != 0) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to