projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: always use sysconf to get the page size
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
regenerate.c
diff --git
a/src/bin/lttng/commands/regenerate.c
b/src/bin/lttng/commands/regenerate.c
index 5328ee37336e36014f204caf06e8f20a4119fa73..0e904f8abcba1cdc6c92f6e4b5be3030ba84dac9 100644
(file)
--- a/
src/bin/lttng/commands/regenerate.c
+++ b/
src/bin/lttng/commands/regenerate.c
@@
-6,7
+6,6
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <assert.h>
#include <ctype.h>
#include <popt.h>
#include <stdio.h>
#include <ctype.h>
#include <popt.h>
#include <stdio.h>
@@
-60,7
+59,7
@@
static int count_arguments(const char **argv)
{
int i = 0;
{
int i = 0;
-
assert
(argv);
+
LTTNG_ASSERT
(argv);
while (argv[i] != NULL) {
i++;
while (argv[i] != NULL) {
i++;
@@
-117,7
+116,7
@@
static int handle_command(const char **argv)
}
argc = count_arguments(argv);
}
argc = count_arguments(argv);
-
assert
(argc >= 1);
+
LTTNG_ASSERT
(argc >= 1);
cmd = &actions[i];
while (cmd->func != NULL) {
cmd = &actions[i];
while (cmd->func != NULL) {
This page took
0.027035 seconds
and
4
git commands to generate.