Source-Changes-HG archive

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

[src/trunk]: src/bin/dd fix comment regarding when we attempt to seek



details:   https://anonhg.NetBSD.org/src/rev/d22b5eceb606
branches:  trunk
changeset: 477056:d22b5eceb606
user:      jtk <jtk%NetBSD.org@localhost>
date:      Sat Oct 09 00:43:32 1999 +0000

description:
fix comment regarding when we attempt to seek

diffstat:

 bin/dd/position.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 60c186458cb9 -r d22b5eceb606 bin/dd/position.c
--- a/bin/dd/position.c Fri Oct 08 21:10:44 1999 +0000
+++ b/bin/dd/position.c Sat Oct 09 00:43:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: position.c,v 1.7 1999/10/04 17:11:53 mycroft Exp $     */
+/*     $NetBSD: position.c,v 1.8 1999/10/09 00:43:32 jtk Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993, 1994
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: position.c,v 1.7 1999/10/04 17:11:53 mycroft Exp $");
+__RCSID("$NetBSD: position.c,v 1.8 1999/10/09 00:43:32 jtk Exp $");
 #endif
 #endif /* not lint */
 
@@ -70,7 +70,7 @@
 {
        int bcnt, cnt, nr, warned;
 
-       /* If not a character, pipe or tape device, try to seek on it. */
+       /* If not a pipe or tape device, try to seek on it. */
        if (!(in.flags & (ISPIPE|ISTAPE))) {
                if (lseek(in.fd, (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR)
                    == -1)



Home | Main Index | Thread Index | Old Index