Revision: 54506
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54506&view=rev
Author:   carlmoore
Date:     2013-02-27 22:45:53 +0000 (Wed, 27 Feb 2013)
Log Message:
-----------
clarify error messages, and fix wrong argv member in one of them

Modified Paths:
--------------
    brlcad/trunk/src/util/bwrect.c

Modified: brlcad/trunk/src/util/bwrect.c
===================================================================
--- brlcad/trunk/src/util/bwrect.c      2013-02-27 20:45:00 UTC (rev 54505)
+++ brlcad/trunk/src/util/bwrect.c      2013-02-27 22:45:53 UTC (rev 54506)
@@ -49,10 +49,10 @@
        bu_exit(1, "usage: bwrect infile outfile (I prompt!)\n");
     }
     if ((ifp = fopen(argv[1], "r")) == NULL) {
-       bu_exit(2, "pixrect: can't open %s\n", argv[1]);
+       bu_exit(2, "pixrect: can't open %s for reading\n", argv[1]);
     }
     if ((ofp = fopen(argv[2], "w")) == NULL) {
-       bu_exit(3, "pixrect: can't open %s\n", argv[1]);
+       bu_exit(3, "pixrect: can't open %s for writing\n", argv[2]);
     }
 
     /* Get info */

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to