Kouhei Sutou
null+****@clear*****
Sat Apr 18 16:14:19 JST 2015
Kouhei Sutou 2015-04-18 16:14:19 +0900 (Sat, 18 Apr 2015) New Revision: 2b1f943fb76044396e9e72f93540bc59dfb7b780 https://github.com/groonga/groonga/commit/2b1f943fb76044396e9e72f93540bc59dfb7b780 Message: Use ERRNO_ERR() for errno Modified files: lib/io.c Modified: lib/io.c (+2 -2) =================================================================== --- lib/io.c 2015-04-18 15:57:08 +0900 (0a67610) +++ lib/io.c 2015-04-18 16:14:19 +0900 (e7052ed) @@ -1691,11 +1691,11 @@ grn_fileinfo_open(grn_ctx *ctx, fileinfo *fi, const char *path, int flags) { struct stat st; if ((fi->fd = GRN_OPEN(path, flags, GRN_IO_FILE_CREATE_MODE)) == -1) { - SERR(path); + ERRNO_ERR(path); return ctx->rc; } if (fstat(fi->fd, &st) == -1) { - SERR(path); + ERRNO_ERR(path); return ctx->rc; } fi->dev = st.st_dev; -------------- next part -------------- HTML����������������������������...ダウンロード