From 740b092fda3d5f45102422f22884c88ea6c42858 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 28 Sep 2020 14:50:01 +0200 Subject: format: replace tabs for indentation in code comments sed -i \ -e 's/^'$'\t'' \*/ */g' \ -e 's/^'$'\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t\t'' \*/ */g' \ $(git ls-files -- '*.[hc]') --- src/main-utils.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/main-utils.c') diff --git a/src/main-utils.c b/src/main-utils.c index c6f95a11f2..c425195756 100644 --- a/src/main-utils.c +++ b/src/main-utils.c @@ -142,8 +142,8 @@ nm_main_utils_ensure_rundir() } /* NM_CONFIG_DEVICE_STATE_DIR is used to determine whether NM is restarted or not. - * It is important to set NMConfigCmdLineOptions.first_start before creating - * the directory. */ + * It is important to set NMConfigCmdLineOptions.first_start before creating + * the directory. */ nm_assert(g_str_has_prefix(NM_CONFIG_DEVICE_STATE_DIR, NMRUNDIR "/")); if (g_mkdir(NM_CONFIG_DEVICE_STATE_DIR, 0755) != 0) { errsv = errno; @@ -236,16 +236,16 @@ nm_main_utils_early_setup(const char * progname, const char ** opt_loc_log_level = NULL, **opt_loc_log_domains = NULL; /* Make GIO ignore the remote VFS service; otherwise it tries to use the - * session bus to contact the remote service, and NM shouldn't ever be - * talking on the session bus. See rh #588745 - */ + * session bus to contact the remote service, and NM shouldn't ever be + * talking on the session bus. See rh #588745 + */ setenv("GIO_USE_VFS", "local", 1); /* - * Set the umask to 0022, which results in 0666 & ~0022 = 0644. - * Otherwise, if root (or an su'ing user) has a wacky umask, we could - * write out an unreadable resolv.conf. - */ + * Set the umask to 0022, which results in 0666 & ~0022 = 0644. + * Otherwise, if root (or an su'ing user) has a wacky umask, we could + * write out an unreadable resolv.conf. + */ umask(022); /* Ensure gettext() gets the right environment (bgo #666516) */ -- cgit v1.2.1