You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/12/26 20:46:11 UTC

svn commit: r1426000 - /subversion/trunk/tools/dev/fsfs-access-map.c

Author: stefan2
Date: Wed Dec 26 19:46:10 2012
New Revision: 1426000

URL: http://svn.apache.org/viewvc?rev=1426000&view=rev
Log:
* tools/dev/fsfs-access-map.c
  (main): fix condition on number of CL parameters

Modified:
    subversion/trunk/tools/dev/fsfs-access-map.c

Modified: subversion/trunk/tools/dev/fsfs-access-map.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/fsfs-access-map.c?rev=1426000&r1=1425999&r2=1426000&view=diff
==============================================================================
--- subversion/trunk/tools/dev/fsfs-access-map.c (original)
+++ subversion/trunk/tools/dev/fsfs-access-map.c Wed Dec 26 19:46:10 2012
@@ -581,7 +581,7 @@ int main(int argc, const char *argv[])
   files = apr_hash_make(pool);
   handles = apr_hash_make(pool);
 
-  if (argc == 1)
+  if (argc == 2)
     apr_file_open(&file, argv[1], APR_READ | APR_BUFFERED, APR_OS_DEFAULT,
                   pool);
   if (file == NULL)