diff --git a/convert-objects.c b/convert-objects.c
index cf03bcfe5aa4f95ec4b6384bc38d63b1e453f731..90e7900e6d7aff2fadf9ba04f8d982733493411c 100644 (file)
--- a/convert-objects.c
+++ b/convert-objects.c
unsigned int mode;
char *slash, *origpath;
- if (!path || strtoul_ui(buffer, 8, &mode) != 1)
+ if (!path || strtoul_ui(buffer, 8, &mode))
die("bad tree conversion");
mode = convert_mode(mode);
path++;
fmt++;
} while (*buf && *fmt);
printf("left: %s\n", buf);
- return mktime(&tm);
+ return mktime(&tm);
}
static int convert_date_line(char *dst, void **buf, unsigned long *sp)