projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Formatteddump: checkpatch.pl coding style fixes
[lttv.git]
/
lttv
/
modules
/
text
/
formattedDump.c
diff --git
a/lttv/modules/text/formattedDump.c
b/lttv/modules/text/formattedDump.c
index bdadc938d422379f737c5dd5ea88338bebd88c5b..8fc2fbfd24cc3443bd42f2739705e0760e33c48b 100644
(file)
--- a/
lttv/modules/text/formattedDump.c
+++ b/
lttv/modules/text/formattedDump.c
@@
-52,8
+52,8
@@
static gboolean a_state;
static gboolean a_text;
static gboolean a_strace;
static gboolean a_text;
static gboolean a_strace;
-static char *a_file_name
= NULL
;
-static char *a_format
= NULL
;
+static char *a_file_name;
+static char *a_format;
static LttvHooks *before_traceset;
static LttvHooks *event_hook;
static LttvHooks *before_traceset;
static LttvHooks *event_hook;
@@
-73,9
+73,9
@@
static gboolean open_output_file(void *hook_data, void *call_data)
{
g_info("Open the output file");
if (a_file_name == NULL) {
{
g_info("Open the output file");
if (a_file_name == NULL) {
- a_file = stdout;
+
a_file = stdout;
} else {
} else {
- a_file = fopen(a_file_name, "w");
+
a_file = fopen(a_file_name, "w");
}
if (a_file == NULL) {
g_error("cannot open file %s", a_file_name);
}
if (a_file == NULL) {
g_error("cannot open file %s", a_file_name);
This page took
0.034706 seconds
and
4
git commands to generate.