aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2017-05-12 19:12:34 -0700
committerGravatar GitHub <noreply@github.com>2017-05-12 19:12:34 -0700
commit44369698fdd615d43ecc9ddcd8e8ad9c075567bc (patch)
tree64dbe9d9e2525b783b7ef3f57fd784b2db43b47d /src/core/lib/iomgr
parent59c16d7bfbb7999a728ddf7b6cac66619a06706f (diff)
parentb920d103de1c653c1c26791b2d71ef94c664dca3 (diff)
Merge pull request #11076 from dgquintas/epoll_error_static_string
Don't crate GRPC_OS_ERROR with a non-static string
Diffstat (limited to 'src/core/lib/iomgr')
-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