Source-Changes-HG archive

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

[src/trunk]: src/bin/pax Don't pass an integer as NULL.



details:   https://anonhg.NetBSD.org/src/rev/1d04500b3772
branches:  trunk
changeset: 553744:1d04500b3772
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 02:08:14 2003 +0000

description:
Don't pass an integer as NULL.

diffstat:

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

diffs (27 lines):

diff -r 2e816ce676ff -r 1d04500b3772 bin/pax/options.c
--- a/bin/pax/options.c Tue Oct 21 01:54:23 2003 +0000
+++ b/bin/pax/options.c Tue Oct 21 02:08:14 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: options.c,v 1.67 2003/10/13 07:41:22 agc Exp $ */
+/*     $NetBSD: options.c,v 1.68 2003/10/21 02:08:14 fvdl Exp $        */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)options.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: options.c,v 1.67 2003/10/13 07:41:22 agc Exp $");
+__RCSID("$NetBSD: options.c,v 1.68 2003/10/21 02:08:14 fvdl Exp $");
 #endif
 #endif /* not lint */
 
@@ -1671,7 +1671,7 @@
                 */
                maxflt = 0;
                while ((str = getline(stdin)) != NULL) {
-                       ftree_add(str, NULL);
+                       ftree_add(str, 0);
                }
                if (getline_error) {
                        tty_warn(1, "Problem while reading stdin");



Home | Main Index | Thread Index | Old Index