--- kdm/kfrontend/genkdmconf.c +++ kdm/kfrontend/genkdmconf.c @@ -44,9 +44,6 @@ #include #include #include -#ifdef BSD -# include -#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"