mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: libFileIO: Log write data too
This commit is contained in:
parent
972e443357
commit
e2254ff189
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ int readline(const char *path) {
|
|||
void writeline(const char *path, const std::string& data) {
|
||||
std::ofstream file;
|
||||
file.open(path);
|
||||
ALOGD("%s: Opening %s", __func__, path);
|
||||
ALOGD("%s: Opening %s, will write '%s'", __func__, path, data.c_str());
|
||||
if (file.is_open()) {
|
||||
file << data;
|
||||
file.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue