Source-Changes-HG archive

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

[src/netbsd-7]: src/usr.bin/cksum Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/de26908d88c9
branches:  netbsd-7
changeset: 799046:de26908d88c9
user:      snj <snj%NetBSD.org@localhost>
date:      Fri Mar 06 20:54:31 2015 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #572):
        usr.bin/cksum/crc.c: revision 1.19
Fix build.

diffstat:

 usr.bin/cksum/crc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d3a45c846a6f -r de26908d88c9 usr.bin/cksum/crc.c
--- a/usr.bin/cksum/crc.c       Fri Mar 06 20:49:11 2015 +0000
+++ b/usr.bin/cksum/crc.c       Fri Mar 06 20:54:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crc.c,v 1.18 2006/09/04 20:01:10 dsl Exp $     */
+/*     $NetBSD: crc.c,v 1.18.60.1 2015/03/06 20:54:31 snj Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)crc.c      8.1 (Berkeley) 6/17/93";
 #else
-__RCSID("$NetBSD: crc.c,v 1.18 2006/09/04 20:01:10 dsl Exp $");
+__RCSID("$NetBSD: crc.c,v 1.18.60.1 2015/03/06 20:54:31 snj Exp $");
 #endif
 #endif /* not lint */
 
@@ -115,7 +115,7 @@
 crc(int fd, u_int32_t *cval, off_t *clen)
 {
        u_char *p;
-       int nr;
+       ssize_t nr;
        u_int32_t thecrc;
        off_t len;
        u_char buf[16 * 1024];



Home | Main Index | Thread Index | Old Index