From 46100d07257824da2ae1147da0324b5788c95501 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Jun 2005 18:55:42 +0000 Subject: 2005-05-31 Dmitry V. Levin * bjm.c (sys_query_module) [LINUX]: Unitize "out of memory" errors reporting style. * strace.c (rebuild_pollv) [USE_PROCFS]: Likewise. * system.c (sys_capget, sys_capset) [SYS_capget]: Likewise. * util.c (printstr): Likewise. (dumpiov) [HAVE_SYS_UIO_H]: Likewise. (fixvfork) [SUNOS4]: Likewise. * desc.c (decode_select): Continue to decode syscall arguments in case of OOM condition. * file.c (sys_getdents): Likewise. (sys_getdents64) [_LFS64_LARGEFILE]: Likewise. (sys_getdirentries) [FREEBSD]: Likewise. * mem.c (sys_mincore): Changed type of variables which deal with malloc size from int to unsigned long. Fixes RH#159308. --- bjm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bjm.c') diff --git a/bjm.c b/bjm.c index 2bd0279..301ac40 100644 --- a/bjm.c +++ b/bjm.c @@ -136,7 +136,7 @@ struct tcb *tcp; size_t idx; if (data==NULL) { - fprintf(stderr, "sys_query_module: No memory\n"); + fprintf(stderr, "out of memory\n"); tprintf(" /* %Zu entries */ ", ret); } else { umoven(tcp, tcp->u_arg[2], tcp->u_arg[3], data); @@ -161,7 +161,7 @@ struct tcb *tcp; size_t idx; if (data==NULL) { - fprintf(stderr, "sys_query_module: No memory\n"); + fprintf(stderr, "out of memory\n"); tprintf(" /* %Zu entries */ ", ret); } else { umoven(tcp, tcp->u_arg[2], tcp->u_arg[3], data); -- cgit v1.2.3