[xiph-commits] r3737 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Sat Oct 25 18:58:45 PDT 2008


Author: conrad
Date: 2008-10-25 18:58:45 -0700 (Sat, 25 Oct 2008)
New Revision: 3737

Modified:
   liboggz/trunk/src/tools/oggz-info.c
Log:
oggz-info: make "unable to open file" error message more useful


Modified: liboggz/trunk/src/tools/oggz-info.c
===================================================================
--- liboggz/trunk/src/tools/oggz-info.c	2008-10-25 22:43:40 UTC (rev 3736)
+++ liboggz/trunk/src/tools/oggz-info.c	2008-10-26 01:58:45 UTC (rev 3737)
@@ -623,7 +623,7 @@
     infilename = argv[optind++];
 
     if ((oggz = oggz_open (infilename, OGGZ_READ|OGGZ_AUTO)) == NULL) {
-      printf ("unable to open file %s\n", argv[1]);
+      perror (infilename);
       return (1);
     }
 



More information about the commits mailing list