summaryrefslogtreecommitdiff
path: root/libguile/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/error.c')
-rw-r--r--libguile/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/error.c b/libguile/error.c
index 0e53c4c5e..c0d97fe6f 100644
--- a/libguile/error.c
+++ b/libguile/error.c
@@ -119,7 +119,7 @@ GUILE_PROC (scm_strerror, "strerror", 1, 0, 0,
"Returns the Unix error message corresponding to @var{errno}, an integer.")
#define FUNC_NAME s_scm_strerror
{
- SCM_VALIDATE_INT(1,err);
+ SCM_VALIDATE_INUM(1,err);
return scm_makfrom0str (strerror (SCM_INUM (err)));
}
#undef FUNC_NAME