diff options
author | Ben Murdoch <benm@google.com> | 2014-05-01 10:53:47 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2014-05-01 10:53:47 +0100 |
commit | e798a23402f2ccf8c30b8dd1610e444ec06f2049 (patch) | |
tree | c7c995983d4168affb6e4d0c40fdf93b1458c937 /verity | |
parent | 724396ed8dbf71ce2744e916fec2e6aec05d1041 (diff) | |
download | extras-e798a23402f2ccf8c30b8dd1610e444ec06f2049.tar.gz |
Fix Mac build.
Use correct format specifiers on the mac build.
Change-Id: I626a766d9078ada9f073eeb107720d1feae07b68
Diffstat (limited to 'verity')
-rw-r--r-- | verity/build_verity_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/verity/build_verity_tree.cpp b/verity/build_verity_tree.cpp index 465c1057..b993ef6d 100644 --- a/verity/build_verity_tree.cpp +++ b/verity/build_verity_tree.cpp @@ -212,7 +212,7 @@ int main(int argc, char **argv) ssize_t ret = read(random_fd, salt, salt_size); if (ret != (ssize_t)salt_size) { - FATAL("failed to read %d bytes from /dev/urandom: %d %d\n", salt_size, ret, errno); + FATAL("failed to read %zu bytes from /dev/urandom: %zd %d\n", salt_size, ret, errno); } close(random_fd); } |