Patchwork [committed] Fix typo in vms.c

login
register
mail settings
Submitter Tristan Gingold
Date Nov. 3, 2011, 3:04 p.m.
Message ID <B2AA2FEB-418A-4BD3-879B-417943F01DE6@adacore.com>
Download mbox | patch
Permalink /patch/123450/
State New
Headers show

Comments

Tristan Gingold - Nov. 3, 2011, 3:04 p.m.
Hi,

I will commit this patch to fix an obvious typo in vms.c

Tristan.

2011-11-03  Tristan Gingold  <gingold@adacore.com>

	* config/vms/vms.c (vms_patch_builtins): Fix typo.

Patch

Index: config/vms/vms.c
===================================================================
--- config/vms/vms.c	(revision 180827)
+++ config/vms/vms.c	(working copy)
@@ -99,11 +99,11 @@ 
   unsigned int i;
 
   /* Fwrite on VMS is non-standard.  */
-  if (builtin_decl_implicit_p (BUILT_IN_WRITE))
-    set_builtin_decl_implicit_p (BUILT_IN_WRITE, false);
+  if (builtin_decl_implicit_p (BUILT_IN_FWRITE))
+    set_builtin_decl_implicit_p (BUILT_IN_FWRITE, false);
 
-  if (builtin_decl_implicit_p (BUILT_IN_WRITE_UNLOCKED))
-    set_builtin_decl_implicit_p (BUILT_IN_WRITE_UNLOCKED, false);
+  if (builtin_decl_implicit_p (BUILT_IN_FWRITE_UNLOCKED))
+    set_builtin_decl_implicit_p (BUILT_IN_FWRITE_UNLOCKED, false);
 
   /* Define aliases for names.  */
   for (i = 0; i < NBR_CRTL_NAMES; i++)