1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.

* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
	* hurd/report-wait.c (_S_msg_report_wait): Likewise.

	* include/sys/xattr.h: New file.
This commit is contained in:
Roland McGrath
2005-12-29 10:38:16 +00:00
parent fc0c638f9d
commit 8ad684db49
4 changed files with 16 additions and 6 deletions

View File

@ -1,4 +1,5 @@
/* Copyright (C) 1993,1994,1995,1997,2000,2004 Free Software Foundation, Inc.
/* Copyright (C) 1993,1994,1995,1997,2000,2004,2005
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -73,7 +74,7 @@ __libc_message (int do_abort, const char *fmt, ...)
while (*cp != '\0')
{
/* Find the next "%s" or the end of the string. */
char *next = cp;
const char *next = cp;
while (next[0] != '%' || next[1] != 's')
{
next = __strchrnul (next + 1, '%');
@ -114,7 +115,7 @@ __libc_message (int do_abort, const char *fmt, ...)
for (int cnt = nlist - 1; cnt >= 0; --cnt)
{
iov[cnt].iov_base = list->str;
iov[cnt].iov_base = (char *) list->str;
iov[cnt].iov_len = list->len;
total += list->len;
list = list->next;