Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / src / msg / msg_legacy.cpp
index 8fe2164..431070e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2004-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -389,7 +389,7 @@ void MSG_sem_acquire(sg_sem_t sem)
 }
 int MSG_sem_acquire_timeout(sg_sem_t sem, double timeout)
 {
-  sg_sem_acquire_timeout(sem, timeout);
+  return sg_sem_acquire_timeout(sem, timeout);
 }
 void MSG_sem_release(sg_sem_t sem)
 {