This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix sysdeps/unix/sysv/linux/check_pf.c


I need the appended patch to compile check_pf.c.  Ok to commit?

Andreas

2006-04-17  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix typos.

============================================================
Index: sysdeps/unix/sysv/linux/check_pf.c
--- sysdeps/unix/sysv/linux/check_pf.c	16 Apr 2006 21:27:01 -0000	1.5
+++ sysdeps/unix/sysv/linux/check_pf.c	17 Apr 2006 10:31:27 -0000
@@ -131,7 +131,7 @@ make_request (int fd, pid_t pid, bool *s
 			      break;
 
 			    case IFA_ADDRESS:
-			      address = RTA_DATA (ta);
+			      address = RTA_DATA (rta);
 			      break;
 			    }
 
@@ -147,7 +147,7 @@ make_request (int fd, pid_t pid, bool *s
 		      memcpy (newp->info.addr, address ?: local,
 			      sizeof (newp->info.addr));
 		      newp->next = in6ailist;
-		      in6ailsit = newp;
+		      in6ailist = newp;
 		      ++in6ailistlen;
 		    }
 		  break;

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]