Author: kib
Date: Wed Oct 22 21:56:57 2008
New Revision: 184185
URL: http://svn.freebsd.org/changeset/base/184185

Log:
  Fix a typo. q is already a pointer.
  
  Reported by:  ache
  Pointy hat to:        kib

Modified:
  head/lib/libc/gen/__xuname.c

Modified: head/lib/libc/gen/__xuname.c
==============================================================================
--- head/lib/libc/gen/__xuname.c        Wed Oct 22 21:56:44 2008        
(r184184)
+++ head/lib/libc/gen/__xuname.c        Wed Oct 22 21:56:57 2008        
(r184185)
@@ -133,7 +133,7 @@ __xuname(int namesize, void *namebuf)
                mib[1] = HW_MACHINE;
                len = namesize;
                oerrno = errno;
-               if (sysctl(mib, 2, &q, &len, NULL, 0) == -1) {
+               if (sysctl(mib, 2, q, &len, NULL, 0) == -1) {
                        if (errno == ENOMEM)
                                errno = oerrno;
                        else
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to