diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2004-10-25 08:19:07 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2004-10-25 08:19:07 +0000 | 
| commit | 8e6ac465d6f3504f60d6e81e0c6f5dc6a653717c (patch) | |
| tree | c115de680fd80a635bce426c7d395993f52c77ed | |
| parent | 853ed92c6a6a97a202ca5a4dcb495197b3c3cc9e (diff) | |
Display version number on start
| -rw-r--r-- | pand/main.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pand/main.c b/pand/main.c index e57c80be..9165bf92 100644 --- a/pand/main.c +++ b/pand/main.c @@ -503,7 +503,7 @@ static struct option main_lopts[] = {  static char main_sopts[] = "hsc:k:Kr:i:S:lnp::DQ::EMC::P:z";  static char main_help[] =  -	"PAN daemon version " VERSION " \n" +	"Bluetooth PAN daemon version " VERSION " \n"  	"Usage:\n"  	"\tpand <options>\n"  	"Options:\n" @@ -678,7 +678,7 @@ int main(int argc, char **argv)  	}  	openlog("pand", LOG_PID | LOG_NDELAY | LOG_PERROR, LOG_DAEMON); -	syslog(LOG_INFO, "Bluetooth PAN daemon"); +	syslog(LOG_INFO, "Bluetooth PAN daemon version %s", VERSION);  	if (src) {  		src_dev = hci_devid(src); | 
