Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
84
Issues
84
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
804afb15
Commit
804afb15
authored
Mar 01, 2016
by
Grzegorz Daniluk
Committed by
Adam Wujek
Mar 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrs_watchdog: cleanup in log messages - levels and content
parent
b0e47d8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrs_watchdog.c
userspace/wrs_watchdog/wrs_watchdog.c
+3
-3
No files found.
userspace/wrs_watchdog/wrs_watchdog.c
View file @
804afb15
...
...
@@ -238,7 +238,7 @@ void endless_watchdog(void)
/* handle reset if needed */
if
(
rst
)
{
pr_warning
(
"S
WC
ore stuck... resetting
\n
"
);
pr_warning
(
"S
witching c
ore stuck... resetting
\n
"
);
force_rst
();
clear_stuck
(
stuck_cnt
);
}
...
...
@@ -297,7 +297,7 @@ int main(int argc, char *argv[])
pr_info
(
"Read %d ports from cmdline
\n
"
,
port_num
);
break
;
case
'p'
:
pr_
info
(
"use pidfile %s"
,
optarg
);
pr_
debug
(
"use pidfile %s"
,
optarg
);
write_pidfile
(
optarg
,
getpid
());
break
;
case
'q'
:
break
;
/* done in wrs_msg_init() */
...
...
@@ -320,7 +320,7 @@ int main(int argc, char *argv[])
}
if
(
daemon_mode
)
{
wrs_msg
(
LOG_ALERT
,
"wrs_watchdog. Commit %s, built on "
pr_info
(
"wrs_watchdog. Commit %s, built on "
__DATE__
"
\n
"
,
__GIT_VER__
);
pr_info
(
"Demonize
\n
"
);
...
...
Write
Preview
Markdown
is supported
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