From b3129ae8c486d283f51299ecc105eda9849ff8b4 Mon Sep 17 00:00:00 2001 From: Mihai Cara Date: Thu, 15 Feb 2024 22:30:38 -0500 Subject: [PATCH] fix c-string formatting --- src/cdrizzleapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdrizzleapi.c b/src/cdrizzleapi.c index bf76e93..930a748 100644 --- a/src/cdrizzleapi.c +++ b/src/cdrizzleapi.c @@ -194,7 +194,7 @@ tdriz(PyObject *obj UNUSED_PARAM, PyObject *args, PyObject *keywords) if (sprintf(warn_msg, "Kernel '%s' is not a flux-conserving kernel.", kernel_str) < 1) { - strcpy(warn_msg, "Selected kernel '%s' is not a flux-conserving kernel."); + strcpy(warn_msg, "Selected kernel is not a flux-conserving kernel."); } PyErr_WarnEx(PyExc_DeprecationWarning, warn_msg, 1); }