Skip to content

Commit aac1dd8

Browse files
committed
Some include and function prefix changes for Fuchsia
1 parent 955b5d4 commit aac1dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/gwp_asan/platform_specific/utilities_fuchsia.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
#include "gwp_asan/utilities.h"
1010

1111
#include <alloca.h>
12-
#include <inttypes.h>
1312
#include <stdio.h>
1413
#include <string.h>
1514
#include <zircon/sanitizer.h>
15+
#include <zircon/status.h>
1616

1717
namespace gwp_asan {
1818
void die(const char *Message) {
@@ -22,7 +22,7 @@ void die(const char *Message) {
2222

2323
void dieWithErrorCode(const char *Message, int64_t ErrorCode) {
2424
const char *error_str =
25-
zx_status_get_string(static_cast<zx_status_t>(ErrorCode));
25+
_zx_status_get_string(static_cast<zx_status_t>(ErrorCode));
2626
size_t buffer_size = strlen(Message) + 32 + strlen(error_str);
2727
char *buffer = static_cast<char *>(alloca(buffer_size));
2828
snprintf(buffer, buffer_size, "%s (Error Code: %s)", Message, error_str);

0 commit comments

Comments
 (0)