X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b6f24acb59f28c9da5156f8afe49ea330d71be91..26aef8bebdc790176289d442e29cc04aac516a5c:/src/smpi/smpi_global.cpp?ds=sidebyside diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 13d7a16c01..39d769a62e 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -575,10 +575,10 @@ int smpi_main(const char* executable, int argc, char *argv[]) #if HAVE_SENDFILE ssize_t sent_size = sendfile(fdout, fdin, NULL, fdin_size); xbt_assert(sent_size == fdin_size, - "Error while copying %s: only %ld bytes copied instead of %ld (errno: %d -- %s)", + "Error while copying %s: only %zd bytes copied instead of %ld (errno: %d -- %s)", target_executable.c_str(), sent_size, fdin_size, errno, strerror(errno)); #else - XBT_WARN("Copy %d bytes into %s", static_cast(fdin_size), target_executable.c_str()); + XBT_VERB("Copy %d bytes into %s", static_cast(fdin_size), target_executable.c_str()); const int bufsize = 1024 * 1024 * 4; char buf[bufsize]; while (int got = read(fdin, buf, bufsize)) {