]> granicus.if.org Git - postgis/commitdiff
Fix POSTGIS_RT_DEBUGF() usage
authorBborie Park <bkpark at ucdavis.edu>
Mon, 22 Oct 2012 19:05:47 +0000 (19:05 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 22 Oct 2012 19:05:47 +0000 (19:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10522 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rt_pg.c

index 91375f596ec5533c5d22ba14da9a369283d16998..70971b017bc62f5854499902f4d97c89396ce679 100644 (file)
@@ -1048,7 +1048,7 @@ Datum RASTER_dumpAsPolygons(PG_FUNCTION_ARGS) {
 
                /* see if band is NODATA */
                if (rt_band_get_isnodata_flag(rt_raster_get_band(raster, nband - 1))) {
-                       POSTGIS_RT_DEBUGF(3, "Band at index %d is NODATA. Returning NULL");
+                       POSTGIS_RT_DEBUGF(3, "Band at index %d is NODATA. Returning NULL", nband);
                        rt_raster_destroy(raster);
                        PG_FREE_IF_COPY(pgraster, 0);
                        MemoryContextSwitchTo(oldcontext);