1bbc977b7a
Submitted by: ed@
31 lines
708 B
C
31 lines
708 B
C
--- kdm/kfrontend/genkdmconf.c
|
|
+++ kdm/kfrontend/genkdmconf.c
|
|
@@ -44,9 +44,6 @@
|
|
#include <limits.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/param.h>
|
|
-#ifdef BSD
|
|
-# include <utmp.h>
|
|
-#endif
|
|
|
|
#include "config.ci"
|
|
|
|
@@ -1592,7 +1589,7 @@
|
|
#else
|
|
# ifdef BSD
|
|
delstr( file, "\n"
|
|
-"exec sessreg -a -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) |
|
|
+"exec sessreg -a -l $DISPLAY -x */Xservers $USER\n" ) |
|
|
# endif
|
|
#endif /* _AIX */
|
|
delstr( file, "\n"
|
|
@@ -1641,7 +1638,7 @@
|
|
#else
|
|
# ifdef BSD
|
|
delstr( file, "\n"
|
|
-"exec sessreg -d -l $DISPLAY -x */Xservers -u " _PATH_UTMP " $USER\n" ) |
|
|
+"exec sessreg -d -l $DISPLAY -x */Xservers $USER\n" ) |
|
|
# endif
|
|
#endif /* _AIX */
|
|
delstr( file, "\n"
|