Branch data Line data Source code
1 : : /* SPDX-License-Identifier: BSD-3-Clause 2 : : * Copyright (C) 2017 Intel Corporation. 3 : : * All rights reserved. 4 : : */ 5 : : 6 : : #include "spdk/string.h" 7 : : 8 : : static __thread char strerror_message[64]; 9 : : 10 : : const char * 11 : 241999 : spdk_strerror(int errnum) 12 : : { 13 : 241999 : spdk_strerror_r(errnum, strerror_message, sizeof(strerror_message)); 14 : 241999 : return strerror_message; 15 : : }