summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-21 12:29:52 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-21 12:29:52 +0000
commit31b6079e17a3eff9779ca1c372699b937b32b0ec (patch)
treea41513e752e1c67311ecd62d20fd08915007d310 /file.c
parent246c986eac342ae7bbf05f3be97c92fc71f9d21d (diff)
Fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 098de7a8de..982a30c4a3 100644
--- a/file.c
+++ b/file.c
@@ -4638,7 +4638,7 @@ rb_file_s_join(VALUE klass, VALUE args)
#if defined(HAVE_TRUNCATE) || defined(HAVE_CHSIZE)
struct truncate_arg {
const char *path;
-#if defined(HAVE_FTRUNCATE)
+#if defined(HAVE_TRUNCATE)
#define NUM2POS(n) NUM2OFFT(n)
off_t pos;
#else