修复一些格式问题

This commit is contained in:
崔一鸣
2019-12-05 16:46:33 +08:00
parent 04ed5150e6
commit a52136fb6b
2 changed files with 1 additions and 2 deletions

View File

@@ -33,7 +33,6 @@ struct kni_handle *g_kni_handle = NULL;
struct kni_field_stat_handle *g_kni_fs_handle = NULL;
#define BURST_MAX 1
#define STREAM_TRACEID_LEN 37
#define CALLER_SAPP 0
#define CALLER_TFE 1

View File

@@ -85,7 +85,7 @@ int kni_tun_read(struct kni_tun_handle *handle, char *buff, uint16_t buff_len){
return 0;
}
}
KNI_LOG_ERROR(handle -> logger, "Failed at read, error = %d(%s)", errno, strerror(errno));
KNI_LOG_ERROR(handle->logger, "Failed at read, error = %d(%s)", errno, strerror(errno));
}
return ret;
}