From: Alejandro Colomar Date: Sat, 18 May 2024 21:45:46 +0000 (+0200) Subject: lib/sssd.c: Style fixes X-Git-Tag: 4.17.0-rc1~146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c9da42db071cf3de36bac4bb18e80dc82b3a054;p=thirdparty%2Fshadow.git lib/sssd.c: Style fixes Signed-off-by: Alejandro Colomar --- diff --git a/lib/sssd.c b/lib/sssd.c index 0a92144bc..4db799543 100644 --- a/lib/sssd.c +++ b/lib/sssd.c @@ -16,17 +16,20 @@ #include "shadowlog_internal.h" + #define MSG_SSSD_FLUSH_CACHE_FAILED "%s: Failed to flush the sssd cache." -int sssd_flush_cache (int dbflags) + +int +sssd_flush_cache(int dbflags) { - int status, code, rv; - const char *cmd = "/usr/sbin/sss_cache"; - struct stat sb; - char *sss_cache_args = NULL; - const char *spawnedArgs[] = {"sss_cache", NULL, NULL}; - const char *spawnedEnv[] = {NULL}; - int i = 0; + int status, code, rv; + int i = 0; + char *sss_cache_args = NULL; + const char *cmd = "/usr/sbin/sss_cache"; + const char *spawnedArgs[] = {"sss_cache", NULL, NULL}; + const char *spawnedEnv[] = {NULL}; + struct stat sb; rv = stat(cmd, &sb); if (rv == -1 && errno == ENOENT)