diff --git a/htdocs/gcc-14/porting_to.html b/htdocs/gcc-14/porting_to.html
index bbbaa25a..901a1653 100644
--- a/htdocs/gcc-14/porting_to.html
+++ b/htdocs/gcc-14/porting_to.html
@@ -92,7 +92,7 @@ below).  In the example below, the type of <code>s</code> 
should be
 <pre>
   write_string (fd, s)
   {
-    write (1, s, strlen (s));
+    write (fd, s, strlen (s));
   }
 </pre>
 
@@ -103,7 +103,7 @@ disregarding error handling and short writes):
   <ins>void</ins>
   write_string (<ins>int</ins> fd, <ins>const char *</ins>s)
   {
-    write (1, s, strlen (s));
+    write (fd, s, strlen (s));
   }
 </pre>
 

Reply via email to