svn commit: r357743 - head/usr.sbin/ntp

Warner Losh imp at FreeBSD.org
Mon Feb 10 18:28:02 UTC 2020


Author: imp
Date: Mon Feb 10 18:28:02 2020
New Revision: 357743
URL: https://svnweb.freebsd.org/changeset/base/357743

Log:
  Use __riscv instead of __riscv__
  
  I misread arch(7) when I added this...
  
  Noticed by: jhb@ and mhorne@

Modified:
  head/usr.sbin/ntp/config.h

Modified: head/usr.sbin/ntp/config.h
==============================================================================
--- head/usr.sbin/ntp/config.h	Mon Feb 10 18:06:38 2020	(r357742)
+++ head/usr.sbin/ntp/config.h	Mon Feb 10 18:28:02 2020	(r357743)
@@ -1592,7 +1592,7 @@
 #define STR_SYSTEM "arm64-undermydesk-freebsd"
 #elif defined(__arm__)
 #define STR_SYSTEM "arm-undermydesk-freebsd"
-#elif defined(__riscv__)
+#elif defined(__riscv)
 #define STR_SYSTEM "riscv64-undermydesk-freebsd"
 #else
 #define STR_SYSTEM "i386-undermydesk-freebsd"


More information about the svn-src-head mailing list