aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/error.c
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-05-18 19:01:53 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2017-05-18 19:01:53 -0700
commitdf8c3eec39f05c84d9504467b2dccd55738523be (patch)
treefad1ea316ba39eb2051bed9167d21f7bb608e9bb /src/core/lib/iomgr/error.c
parentd21040bf1ef56a96808eebe4961039e726fbc80c (diff)
parent9ea6d79474a2cc842b9a7a927dfc2b30d8373ae3 (diff)
Merge branch 'master' of https://github.com/grpc/grpc into more-bm-diff
Diffstat (limited to 'src/core/lib/iomgr/error.c')
-rw-r--r--src/core/lib/iomgr/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/error.c b/src/core/lib/iomgr/error.c
index 5f2c989aad..685581b5cb 100644
--- a/src/core/lib/iomgr/error.c
+++ b/src/core/lib/iomgr/error.c
@@ -769,7 +769,7 @@ grpc_error *grpc_os_error(const char *file, int line, int err,
GRPC_ERROR_INT_ERRNO, err),
GRPC_ERROR_STR_OS_ERROR,
grpc_slice_from_static_string(strerror(err))),
- GRPC_ERROR_STR_SYSCALL, grpc_slice_from_static_string(call_name));
+ GRPC_ERROR_STR_SYSCALL, grpc_slice_from_copied_string(call_name));
}
#ifdef GPR_WINDOWS