Use setproctitle correctly

This commit is contained in:
Kurt Zeilenga 2000-07-06 20:36:23 +00:00
parent b4d5d89151
commit 9488612057
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ main( int argc, char **argv )
}
#ifdef LDAP_PROCTITLE
setproctitle( hp == NULL ? inet_ntoa( from.sin_addr ) :
setproctitle( "%s", hp == NULL ? inet_ntoa( from.sin_addr ) :
hp->h_name );
#endif
}

View File

@ -236,7 +236,7 @@ main (int argc, char **argv )
}
#ifdef LDAP_PROCTITLE
setproctitle( hp == NULL ? inet_ntoa( from.sin_addr ) :
setproctitle( "%s", hp == NULL ? inet_ntoa( from.sin_addr ) :
hp->h_name );
#endif
}