From 92733553380c31d2e64451fd6155b83be24e0437 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 27 Dec 2009 14:46:01 +0000 Subject: [PATCH] Reporting system adapter id with cdrskin -version --- libburn/trunk/cdrskin/cdrskin.c | 23 ++++++++++++++--------- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index f7976316..c54b28c7 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -3146,6 +3146,20 @@ set_severities:; printf( "Cdrecord 2.01-Emulation Copyright (C) 2006-2009, see libburnia-project.org\n"); + if(o->fallback_program[0]) { + char *hargv[2]; + + printf("Fallback program : %s\n",o->fallback_program); + printf("Fallback version :\n"); + hargv[0]= argv[0]; + hargv[1]= "-version"; + Cdrpreskin_fallback(o,2,hargv,1); /* dirty never come back */ + } + +#ifdef Libburn_has_burn_scsi_transport_iD + printf("System adapter : %s\n", burn_scsi_transport_id(0)); +#endif + printf("libburn interface : %d.%d.%d\n", burn_header_version_major, burn_header_version_minor, burn_header_version_micro); @@ -3161,15 +3175,6 @@ set_severities:; printf("Version timestamp : %s\n",Cdrskin_timestamP); printf("Build timestamp : %s\n",Cdrskin_build_timestamP); - if(o->fallback_program[0]) { - char *hargv[2]; - - printf("Fallback program : %s\n",o->fallback_program); - printf("Fallback version :\n"); - hargv[0]= argv[0]; - hargv[1]= "-version"; - Cdrpreskin_fallback(o,2,hargv,1); /* dirty never come back */ - } {ret= 2; goto ex;} } else if(strcmp(argv[i],"-waiti")==0) { diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index fa68588c..fae63e11 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2009.12.27.144620" +#define Cdrskin_timestamP "2009.12.27.144733"