Blob Blame History Raw
diff --git a/monitor-get-edid-using-vbe.c b/monitor-get-edid-using-vbe.c
index 3f8ab1c..92662c8 100644
--- a/monitor-get-edid-using-vbe.c
+++ b/monitor-get-edid-using-vbe.c
@@ -74,7 +74,7 @@ int main(int argc, char **argv)
   }
 
   if (size >= 0) {
-	 write(1, edid, size);
+	 if(write(STDOUT_FILENO, edid, size)){};
 	 return 0;
   }