aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd/ext.h')
-rw-r--r--libexec/telnetd/ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/telnetd/ext.h b/libexec/telnetd/ext.h
index c6fd173feef4..c5f4d883f0da 100644
--- a/libexec/telnetd/ext.h
+++ b/libexec/telnetd/ext.h
@@ -218,7 +218,11 @@ extern int needtermstat;
#endif
#ifndef CRAY
+#ifndef __FreeBSD__
#define DEFAULT_IM "\r\n\r\n4.3 BSD UNIX (%h) (%t)\r\n\r\r\n\r"
#else
+#define DEFAULT_IM "\r\n\r\n%s (%%h) (%%t)\r\n\r\r\n\r"
+#endif
+#else
#define DEFAULT_IM "\r\n\r\nCray UNICOS (%h) (%t)\r\n\r\r\n\r"
#endif