summaryrefslogtreecommitdiff
path: root/src/tc-misc.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2023-02-10 15:27:06 +0100
commit7501bff8432444b7ae8e7f3d9289c0d61f3f0b64 (patch)
treebd53603f464c3747e897a8996158a0fef7b41bc3 /src/tc-misc.c
parent0f124df68d87c9073f76efeff1a901a69b1f3e13 (diff)
parent9e9336185f86bd97ff22f54e4d561c2cccccecf5 (diff)
Merge branch 'release/debian/4.10-1'debian/4.10-1
Diffstat (limited to 'src/tc-misc.c')
-rw-r--r--src/tc-misc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/tc-misc.c b/src/tc-misc.c
index cb985a3..5b043d4 100644
--- a/src/tc-misc.c
+++ b/src/tc-misc.c
@@ -1,10 +1,4 @@
-/*
- * Copyright Jan Engelhardt
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the WTF Public License version 2 or
- * (at your option) any later version.
- */
+// SPDX-License-Identifier: MIT
#ifndef __cplusplus
# include <stdlib.h>
#else
@@ -38,7 +32,8 @@ int main(int argc, const char **argv)
if (stat(argv[1], &sa) < 0 ||
stat(argv[2], &sb) < 0)
perror("stat");
- printf("Difference: %ld\n", HX_time_compare(&sa, &sb, 'm'));
+ else
+ printf("Difference: %ld\n", HX_time_compare(&sa, &sb, 'm'));
}
HX_exit();