aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/string.h b/string/string.h
index 8dcafb4ac4..b1b083edce 100644
--- a/string/string.h
+++ b/string/string.h
@@ -495,7 +495,7 @@ extern char *strfry (char *__string) __THROW __nonnull ((1));
/* Frobnicate N bytes of S. */
extern void *memfrob (void *__s, size_t __n) __THROW __nonnull ((1))
- __attr_access ((__write_only__, 1, 2));
+ __attr_access ((__read_write__, 1, 2));
# ifndef basename
/* Return the file name within directory of FILENAME. We don't