瀏覽代碼

r3.null: replace fprintf to stderr by G_debug

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68283 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 年之前
父節點
當前提交
cef477a1fd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      raster3d/r3.null/main.c

+ 1 - 1
raster3d/r3.null/main.c

@@ -102,7 +102,7 @@ modifyNull(char *name, d_Mask * maskRules, int changeNull, double newNullVal)
     if (NULL == G_find_raster3d(name, ""))
 	Rast3d_fatal_error(_("3D raster map <%s> not found"), name);
 
-    fprintf(stderr, "name %s Mapset %s \n", name, G_mapset());
+    G_debug(1, "Changing NULLs of map %s in %s", name, G_mapset());
     map = Rast3d_open_cell_old(name, G_mapset(), RASTER3D_DEFAULT_WINDOW,
 			  DCELL_TYPE, cacheSize);