Showing 8 changed files with 8 additions and 1 deletions
BIN
aarch64/ntpprint
Binary file not shown.
BIN
arm6/ntpprint
Binary file not shown.
BIN
arm7/ntpprint
Binary file not shown.
+1 -1
ntpprint.c
... ...
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
43 43
 
44 44
     server = gethostbyname(host);
45 45
     if (!server) {
46
-        fprintf(stderr, "Error: Cannot resolve hostname %s\n", ntp_server);
46
+        fprintf(stderr, "Error: Cannot resolve hostname %s\n", host);
47 47
         close(sockfd);
48 48
         return 1;
49 49
     }
BIN
riscv64/ntpprint
Binary file not shown.
+7
target-all.sh
... ...
@@ -0,0 +1,7 @@
1
+#!/bin/bash
2
+for build in build-*sh
3
+do
4
+  echo ================ $build
5
+  ./$build
6
+done
7
+
BIN
win64/ntpprint.exe
Binary file not shown.
BIN
x86_64/ntpprint
Binary file not shown.