diff options
author | Shlomi Fish <shlomif@shlomifish.org> | 2018-02-12 13:48:07 +0200 |
---|---|---|
committer | Shlomi Fish <shlomif@shlomifish.org> | 2018-02-12 13:48:07 +0200 |
commit | 8c4a85c8f45be25f227e023dce832b66dbfdb2c3 (patch) | |
tree | bfe69e7eee545704d13b49d097dc7b8c50a7b031 | |
parent | cf38cceeb1b98670927f5377688d5dc056cb310b (diff) | |
download | monitor-edid-8c4a85c8f45be25f227e023dce832b66dbfdb2c3.tar monitor-edid-8c4a85c8f45be25f227e023dce832b66dbfdb2c3.tar.gz monitor-edid-8c4a85c8f45be25f227e023dce832b66dbfdb2c3.tar.bz2 monitor-edid-8c4a85c8f45be25f227e023dce832b66dbfdb2c3.tar.xz monitor-edid-8c4a85c8f45be25f227e023dce832b66dbfdb2c3.zip |
fix warning. MGA#22575.
-rw-r--r-- | monitor-get-edid-using-vbe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor-get-edid-using-vbe.c b/monitor-get-edid-using-vbe.c index 3f8ab1c..c6235fd 100644 --- a/monitor-get-edid-using-vbe.c +++ b/monitor-get-edid-using-vbe.c @@ -74,7 +74,8 @@ int main(int argc, char **argv) } if (size >= 0) { - write(1, edid, size); + if (write(STDOUT_FILENO, edid, size)) { + } return 0; } |