Message ID | 87o7ccdy13.fsf@mid.deneb.enyo.de |
---|---|
State | New |
Headers | |
Series | [wwwdocs,COMMITTED] gcc-14: Fix unintentional error in -Wimplicit-int example | |
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gcc_build--master-arm | fail | Patch failed to apply |
Commit Message
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>