about summary refs log tree commit diff
path: root/nis
diff options
context:
space:
mode:
Diffstat (limited to 'nis')
-rw-r--r--nis/nis_call.c2
-rw-r--r--nis/nis_findserv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_call.c b/nis/nis_call.c
index c1cfd8dcec..a48ecc39a8 100644
--- a/nis/nis_call.c
+++ b/nis/nis_call.c
@@ -503,7 +503,7 @@ rec_dirsearch (const_nis_name name, directory_obj *dir, nis_error *status)
 	    return dir;
 	  }
 	nis_free_directory (dir);
-	obj = calloc (1, sizeof(directory_obj));
+	obj = calloc (1, sizeof (directory_obj));
 	if (obj == NULL)
 	  {
 	    __free_fdresult (fd_res);
diff --git a/nis/nis_findserv.c b/nis/nis_findserv.c
index 5a76a130dd..d0ce3e8693 100644
--- a/nis/nis_findserv.c
+++ b/nis/nis_findserv.c
@@ -127,7 +127,7 @@ __nis_findfastest_with_timeout (dir_binding *bind,
 	      }
 	    memcpy ((char *) &pings[pings_count].sin, (char *) &sin,
 		    sizeof (sin));
-	    memcpy ((char *)&saved_sin, (char *)&sin, sizeof(sin));
+	    memcpy ((char *)&saved_sin, (char *)&sin, sizeof (sin));
 	    pings[pings_count].xid = xid_seed + pings_count;
 	    pings[pings_count].server_nr = i;
 	    pings[pings_count].server_ep = j;