about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/digits_dots.c2
-rw-r--r--nss/nss_files/files-alias.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nss/digits_dots.c b/nss/digits_dots.c
index 29aa5b1c5c..944b328a1a 100644
--- a/nss/digits_dots.c
+++ b/nss/digits_dots.c
@@ -48,7 +48,7 @@
 
 	default:
 	  af = (_res.options & RES_USE_INET6) ? AF_INET6 : AF_INET;
-	  addr_size = (af == AF_INET6 ) ? IN6ADDRSZ : INADDRSZ;
+	  addr_size = af == AF_INET6 ? IN6ADDRSZ : INADDRSZ;
 	  break;
 	}
 
diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c
index 7eb22bb187..733e599103 100644
--- a/nss/nss_files/files-alias.c
+++ b/nss/nss_files/files-alias.c
@@ -131,7 +131,7 @@ _nss_files_endaliasent (void)
 /* Parsing the database file into `struct aliasent' data structures.  */
 static enum nss_status
 get_next_alias (const char *match, struct aliasent *result,
-		char *buffer, int *errnop, size_t buflen)
+		char *buffer, size_t buflen, int *errnop)
 {
   enum nss_status status = NSS_STATUS_NOTFOUND;
   int ignore = 0;