Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen fix typo



details:   https://anonhg.NetBSD.org/src/rev/083c77dfb321
branches:  trunk
changeset: 537202:083c77dfb321
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 28 01:43:24 2002 +0000

description:
fix typo

diffstat:

 lib/libc/gen/utmpx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5be9e4fcb6c6 -r 083c77dfb321 lib/libc/gen/utmpx.c
--- a/lib/libc/gen/utmpx.c      Sat Sep 28 01:34:36 2002 +0000
+++ b/lib/libc/gen/utmpx.c      Sat Sep 28 01:43:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utmpx.c,v 1.12 2002/09/28 01:34:36 christos Exp $       */
+/*     $NetBSD: utmpx.c,v 1.13 2002/09/28 01:43:24 christos Exp $       */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/cdefs.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: utmpx.c,v 1.12 2002/09/28 01:34:36 christos Exp $");
+__RCSID("$NetBSD: utmpx.c,v 1.13 2002/09/28 01:43:24 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -297,7 +297,7 @@
                (void)memset(&ut, 0, sizeof(ut));
                ut.ut_type = SIGNATURE;
                (void)memcpy(ut.ut_user, vers, sizeof(vers));
-               if ((write(fd, &ut, sizeof(ut)) == -1)
+               if (write(fd, &ut, sizeof(ut)) == -1)
                        return -1;
        }
        if (write(fd, utx, sizeof(*utx)) == -1)



Home | Main Index | Thread Index | Old Index