mirror of
https://github.com/troglobit/finit.git
synced 2026-10-24 11:54:36 +00:00
Update documentation, debug replaces --debug and finit_debug
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
fc08b0c65b
commit
6d1c245985
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -187,7 +187,7 @@ static void emergency_shell(void)
|
||||
}
|
||||
|
||||
fprintf(stderr, "\n=> Embarrassingly, Finit has crashed. Check /dev/kmsg for details.\n");
|
||||
fprintf(stderr, "=> To debug, add '--debug' to the kernel command line.\n\n");
|
||||
fprintf(stderr, "=> To debug, add 'debug' to the kernel command line.\n\n");
|
||||
|
||||
/*
|
||||
* Become session leader and set controlling TTY
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
* errors and debug messages. For all other user messages, see logit()
|
||||
*
|
||||
* The default log level is LOG_NOTICE. To toggle LOG_DEBUG messages,
|
||||
* use `initctl debug` or add `--debug` to the kernel cmdline.
|
||||
* use `initctl debug` or add `debug` to the kernel cmdline.
|
||||
*/
|
||||
#define _d(fmt, args...) logit(LOG_DEBUG, "%s():" fmt "\n", __func__, ##args)
|
||||
#define _w(fmt, args...) logit(LOG_WARNING, "%s():" fmt "\n", __func__, ##args)
|
||||
|
||||
Reference in new issue
Block a user