dtlogin: correct path to getty.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Thu, 25 Jul 2013 10:28:33 +0000 (12:28 +0200)
committerJon Trulson <jon@radscan.com>
Fri, 26 Jul 2013 00:36:34 +0000 (18:36 -0600)
cde/programs/dtlogin/dm.c

index 87fab04cc8ab78eb9f9f419780729d38e5229418..ca5c21c2210cc2e05735707afe060f79841c56c1 100644 (file)
@@ -1494,6 +1494,8 @@ SetTitle( char *name, char *ptr )
 
 #if defined (_AIX) && defined (_POWER) || defined (__osf__)
 #define GETTYPATH "/usr/sbin/getty"
+#elif defined(__OpenBSD__)
+#define GETTYPATH "/usr/libexec/getty"
 #elif !defined (__apollo)
 #define GETTYPATH "/etc/getty"
 #endif