diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-08 21:53:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-08 21:53:02 +0000 |
commit | 8d92ac23d15da245404a586a48f390948e617697 (patch) | |
tree | b55c2bdfb8b08ffb4963180d815f787271375993 /dir.c | |
parent | 22223dc6dd59ef6925862931f8cd0d6a61f18fd7 (diff) | |
download | ruby-8d92ac23d15da245404a586a48f390948e617697.tar.gz |
* dir.c (sys_warning_1): show error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -992,7 +992,7 @@ dir_s_rmdir(VALUE obj, VALUE dir) static VALUE sys_warning_1(VALUE mesg) { - rb_sys_warning("%s", (const char *)mesg); + rb_sys_warning("%s:%s", strerror(errno), (const char *)mesg); return Qnil; } |