diff options
author | Elliott Hughes <enh@google.com> | 2015-03-20 17:05:56 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-20 17:05:56 -0700 |
commit | cd67f00e18de1c8d48ddb082ecb902fc42c2bacc (patch) | |
tree | cd431ef29d8fbbe895b1a7ade750dcb9123c507f /init/devices.cpp | |
parent | bf684148e2f8182079b9483e7ead30d9b93cd020 (diff) | |
download | core-cd67f00e18de1c8d48ddb082ecb902fc42c2bacc.tar.gz core-cd67f00e18de1c8d48ddb082ecb902fc42c2bacc.tar.bz2 core-cd67f00e18de1c8d48ddb082ecb902fc42c2bacc.zip |
Always use strerror to report errno.
Change-Id: Icd18e4bd7dc093c18967f45b99cd451359457b03
Diffstat (limited to 'init/devices.cpp')
-rw-r--r-- | init/devices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/devices.cpp b/init/devices.cpp index aa86e5fed..9bce39abc 100644 --- a/init/devices.cpp +++ b/init/devices.cpp @@ -871,7 +871,7 @@ try_loading_again: booting = is_booting(); goto try_loading_again; } - INFO("firmware: could not open '%s' %d\n", uevent->firmware, errno); + INFO("firmware: could not open '%s': %s\n", uevent->firmware, strerror(errno)); write(loading_fd, "-1", 2); goto data_close_out; } |