File Fix-logging-argument.patch of Package netcdf.21639

From: Egbert Eich <eich@suse.com>
Date: Sat Nov 28 23:32:28 2020 +0100
Subject: Fix logging argument.
Patch-mainline: Not yet
Git-commit: f98960b2762c6ad9d0767da58ba777ca5e59822c
References: 

Signed-off-by: Egbert Eich <eich@suse.com>
---
 .command_rpm-git                 | 2 +-
 netcdf-c-4.7.4/libhdf5/hdf5var.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/netcdf-c-4.7.4/libhdf5/hdf5var.c b/netcdf-c-4.7.4/libhdf5/hdf5var.c
index d0404ca..1bec7e0 100644
--- a/libhdf5/hdf5var.c
+++ b/libhdf5/hdf5var.c
@@ -2290,7 +2290,7 @@ nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
     float real_preemption = CHUNK_CACHE_PREEMPTION;
 
     LOG((1, "%s: ncid 0x%x varid %d size %d nelems %d preemption %d",
-	 __func__, ncid, varid, size, nelems, preemptions));
+	 __func__, ncid, varid, size, nelems, real_preemption));
     
     if (size >= 0)
         real_size = ((size_t) size) * MEGABYTE;
openSUSE Build Service is sponsored by