Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
94cac32c
Commit
94cac32c
authored
Mar 07, 2015
by
Oliver Pinter
Browse files
HBSD LOG: improve the log, and add new line
Signed-off-by:
Oliver Pinter
<
oliver.pinter@hardenedbsd.org
>
parent
047a2dcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/hardenedbsd/hbsd_pax_log.c
View file @
94cac32c
...
@@ -277,7 +277,7 @@ _pax_log_imgp_details(struct sbuf *sb, uint64_t flags, struct image_params *imgp
...
@@ -277,7 +277,7 @@ _pax_log_imgp_details(struct sbuf *sb, uint64_t flags, struct image_params *imgp
{
{
if
(
imgp
!=
NULL
&&
imgp
->
args
!=
NULL
)
if
(
imgp
!=
NULL
&&
imgp
->
args
!=
NULL
)
if
(
imgp
->
args
->
fname
)
if
(
imgp
->
args
->
fname
!=
NULL
)
sbuf_printf
(
sb
,
"fname: %s "
,
sbuf_printf
(
sb
,
"fname: %s "
,
imgp
->
args
->
fname
);
imgp
->
args
->
fname
);
}
}
...
@@ -406,6 +406,7 @@ pax_log_internal_imgp(struct image_params *imgp, uint64_t flags, const char* fmt
...
@@ -406,6 +406,7 @@ pax_log_internal_imgp(struct image_params *imgp, uint64_t flags, const char* fmt
if
((
flags
&
PAX_LOG_SKIP_DETAILS
)
!=
PAX_LOG_SKIP_DETAILS
)
{
if
((
flags
&
PAX_LOG_SKIP_DETAILS
)
!=
PAX_LOG_SKIP_DETAILS
)
{
_pax_log_indent
(
sb
,
flags
);
_pax_log_indent
(
sb
,
flags
);
_pax_log_imgp_details
(
sb
,
flags
,
imgp
);
_pax_log_imgp_details
(
sb
,
flags
,
imgp
);
_pax_log_indent
(
sb
,
flags
);
_pax_log_proc_details
(
sb
,
flags
,
imgp
->
proc
);
_pax_log_proc_details
(
sb
,
flags
,
imgp
->
proc
);
_pax_log_details_end
(
sb
);
_pax_log_details_end
(
sb
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment