|
From: Julian S. <js...@ac...> - 2003-12-12 06:40:35
|
CVS commit by jseward:
Reword warning message emitted by fd_allowed() to make it a little clearer.
M +6 -4 vg_syscalls.c 1.64
--- valgrind/coregrind/vg_syscalls.c #1.63:1.64
@@ -784,8 +784,10 @@ static Bool fd_allowed(Int fd, const Cha
{
if (fd < 0 || fd > VG_MAX_FD || fd == VG_(clo_logfile_fd)) {
- VG_(message)(Vg_UserMsg, "Warning: bad use of file descriptor %d in syscall %s()",
+ VG_(message)(Vg_UserMsg,
+ "Warning: invalid file descriptor %d in syscall %s()",
fd, syscall);
if (fd == VG_(clo_logfile_fd))
- VG_(message)(Vg_UserMsg, " Use --logfile-fd=<number> to select an alternative "
+ VG_(message)(Vg_UserMsg,
+ " Use --logfile-fd=<number> to select an alternative "
"logfile fd.");
if (VG_(clo_verbosity) > 1) {
|