Browse Source

r.info: mirror fix for https://trac.osgeo.org/grass/changeset/49602

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49604 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
0539a39f7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raster/r.info/main.c

+ 1 - 1
raster/r.info/main.c

@@ -320,7 +320,7 @@ int main(int argc, char **argv)
             fprintf(out, "rows=%d\n", cellhd.rows);
             fprintf(out, "rows=%d\n", cellhd.rows);
             fprintf(out, "cols=%d\n", cellhd.cols);
             fprintf(out, "cols=%d\n", cellhd.cols);
             
             
-            fprintf(stdout, "cells=%lld\n",
+            fprintf(out, "cells=%lld\n",
                     (long long)cellhd.rows * cellhd.cols);
                     (long long)cellhd.rows * cellhd.cols);
             
             
 	    fprintf(out, "datatype=%s\n",
 	    fprintf(out, "datatype=%s\n",