From d8ac4091605cafeed429956439b3365036470356 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 18 Sep 1997 14:08:40 +0000 Subject: Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul --- sbin/i386/ft/ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/i386') diff --git a/sbin/i386/ft/ft.c b/sbin/i386/ft/ft.c index b1dbbb2..3396eb4 100644 --- a/sbin/i386/ft/ft.c +++ b/sbin/i386/ft/ft.c @@ -53,7 +53,7 @@ QIC_Geom geo; /* tape geometry */ int tvno = 1; /* tape volume number */ int tvlast; /* TRUE if last volume in set */ long tvsize = 0; /* tape volume size in bytes */ -long tvtime = NULL; /* tape change time */ +long tvtime = 0; /* tape change time */ char *tvnote = ""; /* tape note */ int doretension = 0; /* TRUE if we should retension tape */ -- cgit v1.1