projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Unchecked NULL string in logging statement
[lttng-tools.git]
/
src
/
bin
/
lttng-crash
/
lttng-crash.c
diff --git
a/src/bin/lttng-crash/lttng-crash.c
b/src/bin/lttng-crash/lttng-crash.c
index 0a8f072e721bee295e6560c6cf525a1ec1ddb0b9..653e4d0a6667e88fcc4dc74a49e1885897099874 100644
(file)
--- a/
src/bin/lttng-crash/lttng-crash.c
+++ b/
src/bin/lttng-crash/lttng-crash.c
@@
-16,7
+16,6
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#include <getopt.h>
#include <signal.h>
#include <stdio.h>
#include <getopt.h>
#include <signal.h>
#include <stdio.h>
@@
-29,7
+28,6
@@
#include <fcntl.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <unistd.h>
-#include <config.h>
#include <ctype.h>
#include <dirent.h>
#include <byteswap.h>
#include <ctype.h>
#include <dirent.h>
#include <byteswap.h>
@@
-668,7
+666,7
@@
int copy_crash_subbuf(const struct lttng_crash_layout *layout,
return -EINVAL;
}
return -EINVAL;
}
- DBG("Copy crash subbuffer at offset %
lu"
, offset);
+ DBG("Copy crash subbuffer at offset %
" PRIu64
, offset);
sbidx = subbuf_index(offset, buf_size, subbuf_size);
/*
sbidx = subbuf_index(offset, buf_size, subbuf_size);
/*
This page took
0.028661 seconds
and
4
git commands to generate.