Fix indentation
This commit is contained in:
parent
662e308d86
commit
d3db9e9910
@ -27,7 +27,7 @@
|
||||
|
||||
#define NOTICE "# THIS FILE IS AUTOMATICALLY GENERATED BY env-update.\n" \
|
||||
"# DO NOT EDIT THIS FILE. CHANGES TO STARTUP PROFILES\n" \
|
||||
"# GO INTO %s NOT %s\n\n"
|
||||
"# GO INTO %s NOT %s\n\n"
|
||||
|
||||
#define LDNOTICE "# ld.so.conf autogenerated by env-update; make all\n" \
|
||||
"# changes to contents of /etc/env.d directory\n"
|
||||
|
@ -393,18 +393,18 @@ static int _eindent (FILE *stream)
|
||||
|
||||
#define VEINFON(_file, _colour) \
|
||||
if (colour_terminal ()) \
|
||||
fprintf (_file, " " _colour "*" EINFO_NORMAL " "); \
|
||||
else \
|
||||
fprintf (_file, " * "); \
|
||||
retval += _eindent (_file); \
|
||||
{ \
|
||||
fprintf (_file, " " _colour "*" EINFO_NORMAL " "); \
|
||||
else \
|
||||
fprintf (_file, " * "); \
|
||||
retval += _eindent (_file); \
|
||||
{ \
|
||||
va_list _ap; \
|
||||
va_copy (_ap, ap); \
|
||||
retval += vfprintf (_file, fmt, _ap) + 3; \
|
||||
va_end (_ap); \
|
||||
} \
|
||||
if (colour_terminal ()) \
|
||||
fprintf (_file, "\033[K");
|
||||
} \
|
||||
if (colour_terminal ()) \
|
||||
fprintf (_file, "\033[K");
|
||||
|
||||
static int _veinfon (const char *fmt, va_list ap)
|
||||
{
|
||||
|
@ -690,7 +690,7 @@ char **rc_config_env (char **env)
|
||||
|
||||
memset (sys, 0, sizeof (sys));
|
||||
|
||||
/* Linux can run some funky stuff like Xen, VServer, UML, etc
|
||||
/* Linux can run some funky stuff like Xen, VServer, UML, etc
|
||||
We store this special system in RC_SYS so our scripts run fast */
|
||||
#ifdef __linux__
|
||||
if (rc_is_dir ("/proc/xen"))
|
||||
|
@ -73,7 +73,7 @@ void setup_selinux (int argc, char **argv)
|
||||
/* FIXME: the below code generates the warning
|
||||
ISO C forbids assignment between function pointer and 'void *'
|
||||
which sucks ass
|
||||
http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html */
|
||||
http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html */
|
||||
selinux_run_init_old = dlsym (lib_handle, "selinux_runscript");
|
||||
selinux_run_init_new = dlsym (lib_handle, "selinux_runscript2");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user