projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
verdin-imx8mm: automatic ram size detection
[platform/kernel/u-boot.git]
/
tools
/
image-host.c
diff --git
a/tools/image-host.c
b/tools/image-host.c
index
5e1dec2
..
e32cc64
100644
(file)
--- a/
tools/image-host.c
+++ b/
tools/image-host.c
@@
-335,7
+335,7
@@
static int get_random_data(void *data, int size)
ret = clock_gettime(CLOCK_MONOTONIC, &date);
if (ret < 0) {
printf("%s: clock_gettime has failed (err=%d, str=%s)\n",
- __func__, ret, strerror(
ret
));
+ __func__, ret, strerror(
errno
));
goto out;
}