summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dump/dump.h')
-rw-r--r--sbin/dump/dump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h
index 75b33d5..2224782 100644
--- a/sbin/dump/dump.h
+++ b/sbin/dump/dump.h
@@ -164,13 +164,13 @@ struct dumpdates {
time_t dd_ddate;
};
int nddates; /* number of records (might be zero) */
-int ddates_in; /* we have read the increment file */
struct dumpdates **ddatev; /* the arrayfied version */
void initdumptimes(void);
void getdumptime(void);
void putdumptime(void);
#define ITITERATE(i, ddp) \
- for (ddp = ddatev[i = 0]; i < nddates; ddp = ddatev[++i])
+ if (ddatev != NULL) \
+ for (ddp = ddatev[i = 0]; i < nddates; ddp = ddatev[++i])
void sig(int signo);
OpenPOWER on IntegriCloud