[Lsb-messages] /var/www/bzr/lsb/devel/runtime-test r1284: Report certain errors in LSB.os tests better (for bug 3568).

Jeff Licquia licquia at linuxfoundation.org
Mon Aug 5 21:27:18 UTC 2013


------------------------------------------------------------
revno: 1284
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: runtime-test
timestamp: Mon 2013-08-05 17:27:18 -0400
message:
  Report certain errors in LSB.os tests better (for bug 3568).
modified:
  modules/lsb-os/SRC/common/vsrtlib/mkmmap.c
-------------- next part --------------
=== modified file 'modules/lsb-os/SRC/common/vsrtlib/mkmmap.c'
--- a/modules/lsb-os/SRC/common/vsrtlib/mkmmap.c	2002-10-21 05:48:28 +0000
+++ b/modules/lsb-os/SRC/common/vsrtlib/mkmmap.c	2013-08-05 21:27:18 +0000
@@ -245,7 +245,7 @@
 			buf[i] = i + j;
 
 		if (write(fd, (void*)buf, sizeof(buf)) != sizeof(buf)) {
-			in_rpt("write() failed, errno = %d (%s)", errno, errname(errno));
+			in_rpt("vsrt_open_file: write() failed, errno = %d (%s)", errno, errname(errno));
 			xx_rpt(FAILURE);
 			return -1;
 		}
@@ -606,7 +606,7 @@
 					size--;
 			}
 			else {
-				in_rpt("write() failed, errno = %d (%s)", errno, errname(errno));
+				in_rpt("vsrt_create_exec_file: write() failed, errno = %d (%s)", errno, errname(errno));
 				xx_rpt(FAILURE);
 				return(-1);
 			}



More information about the lsb-messages mailing list