Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
32bits I hate you.
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 22 Apr 2017 19:25:06 +0000 (21:25 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 22 Apr 2017 19:25:06 +0000 (21:25 +0200)
src/smpi/smpi_global.cpp

index 6f09f53..6fc5d74 100644 (file)
@@ -575,7 +575,7 @@ 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 %zd bytes copied instead of %zd (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<int>(fdin_size), target_executable.c_str());