summaryrefslogtreecommitdiff
path: root/timeadd.c
diff options
context:
space:
mode:
Diffstat (limited to 'timeadd.c')
-rw-r--r--timeadd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timeadd.c b/timeadd.c
index d2f0159..e43c951 100644
--- a/timeadd.c
+++ b/timeadd.c
@@ -36,7 +36,7 @@ struct timespec timediff(struct timespec begin, struct timespec end) {
int main(int argc, char **argv) {
const char *out_format;
char buf[4096];
- struct timespec tp[2] = { { 0 } };
+ struct timespec tp[2] = { { 0, 0 } };
int tp_i = 0;
int opt;
bool diff = false;