From 685444569cb747b399e0ab087e5876fad08a71bb Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 16 Jun 2011 00:12:55 +0000 Subject: * fix for build on solaris 10. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index daba52cde3..d75398f306 100644 --- a/file.c +++ b/file.c @@ -5007,7 +5007,8 @@ path_check_0(VALUE path, int execpath) && !(p && execpath && (st.st_mode & S_ISVTX)) #endif && !access(p0, W_OK)) { - rb_warn("Insecure world writable dir %s in %sPATH, mode 0%o", + rb_warn("Insecure world writable dir %s in %sPATH, mode 0%" + PRI_MODET_PREFIX"o", p0, (execpath ? "" : "LOAD_"), st.st_mode); if (p) *p = '/'; RB_GC_GUARD(path); -- cgit v1.2.3