projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't perform an automatic session rotation in snapshot mode
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
shm.c
diff --git
a/src/bin/lttng-sessiond/shm.c
b/src/bin/lttng-sessiond/shm.c
index a5caa8bb6cdd3ab054872caedb86d362dd714d64..23bd9db2085221f341454bee136c76b1a6b91c68 100644
(file)
--- a/
src/bin/lttng-sessiond/shm.c
+++ b/
src/bin/lttng-sessiond/shm.c
@@
-16,7
+16,7
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _
GNU
_SOURCE
+#define _
LGPL
_SOURCE
#include <fcntl.h>
#include <limits.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <limits.h>
#include <sys/mman.h>
@@
-73,7
+73,7
@@
static int get_wait_shm(char *shm_path, size_t mmap_size, int global)
*/
wait_shm_fd = shm_open(shm_path, O_RDWR | O_CREAT, mode);
if (wait_shm_fd < 0) {
*/
wait_shm_fd = shm_open(shm_path, O_RDWR | O_CREAT, mode);
if (wait_shm_fd < 0) {
- PERROR("
shm_open wait shm"
);
+ PERROR("
Failed to open wait shm at %s", shm_path
);
goto error;
}
goto error;
}
This page took
0.02456 seconds
and
4
git commands to generate.