From d7cfbd594b53e26a08e639ee0c3d2dfa55c28067 Mon Sep 17 00:00:00 2001
From: Andrew McNulty <amcn102@gmail.com>
Date: Sat, 17 Aug 2024 11:57:36 +0100
Subject: [PATCH] Fix typo in dynamic wind documentation.

* doc/ref/api-control.texi: Fix typo in dynamic wind
documentation.
---
 doc/ref/api-control.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-control.texi b/doc/ref/api-control.texi
index ee6969289..6f2f342ff 100644
--- a/doc/ref/api-control.texi
+++ b/doc/ref/api-control.texi
@@ -1671,7 +1671,7 @@ scm_foo (SCM s1, SCM s2)
 
   scm_dynwind_end ();
 
-  return scm_take_locale_string (res);
+  return scm_take_locale_string (c_res);
 @}
 @end example
 
-- 
2.39.2

