Minor print-out improvments.
This commit is contained in:
parent
a0addad286
commit
27c0b3cda7
@ -1,9 +1,9 @@
|
|||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
/* $RCSfile: nddemo0.c,v $ */
|
/* $RCSfile: nddemo0.c,v $ */
|
||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
/* $Revision: 2.2 $ */
|
/* $Revision: 2.3 $ */
|
||||||
/* $Name: $ */
|
/* $Name: $ */
|
||||||
/* $Date: 2003/01/17 08:07:46 $ */
|
/* $Date: 2003/01/17 17:03:33 $ */
|
||||||
/* $Author: agibert $ */
|
/* $Author: agibert $ */
|
||||||
/*---------------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifdef _LIBVER_SUPPORT
|
#ifdef _LIBVER_SUPPORT
|
||||||
VER_INFO_EXPORT( ndbench, "$Revision: 2.2 $", "$Name: $", __FILE__, "$Author: agibert $")
|
VER_INFO_EXPORT( ndbench, "$Revision: 2.3 $", "$Name: $", __FILE__, "$Author: agibert $")
|
||||||
# define USAGE "Usage : %s [ --help | --version [-v]]\n"
|
# define USAGE "Usage : %s [ --help | --version [-v]]\n"
|
||||||
#else
|
#else
|
||||||
# define USAGE "Usage : %s [ --help]\n"
|
# define USAGE "Usage : %s [ --help]\n"
|
||||||
@ -107,7 +107,7 @@ NDT_Status Manager_Demo0_DS( NDT_Root *Root_Ptr, NDT_Index_Id Index_Id, NDT_N
|
|||||||
|
|
||||||
Command_Name = "NDD_CMD_MANAGER_VERSION";
|
Command_Name = "NDD_CMD_MANAGER_VERSION";
|
||||||
|
|
||||||
*Version_Name_Ptr = "$Revision: 2.2 $ $Name: $ $Date: 2003/01/17 08:07:46 $ $Author: agibert $";
|
*Version_Name_Ptr = "$Revision: 2.3 $ $Name: $ $Date: 2003/01/17 17:03:33 $ $Author: agibert $";
|
||||||
|
|
||||||
return( NDS_OK);
|
return( NDS_OK);
|
||||||
}
|
}
|
||||||
@ -364,8 +364,8 @@ NDT_Status Manager_Demo0_DS( NDT_Root *Root_Ptr, NDT_Index_Id Index_Id, NDT_N
|
|||||||
|
|
||||||
Command_Name = "NDD_CMD_VALUE_PRINT";
|
Command_Name = "NDD_CMD_VALUE_PRINT";
|
||||||
|
|
||||||
fprintf( Out, "Val0: (%s) Val1: (%s) Val2: (%s) Val3: (%s)\n",
|
fprintf( Out, "Val0: (%s) Val1: (%s) Val2: (%s) %*sVal3: (%s)\n",
|
||||||
Value_Ptr->Val0, Value_Ptr->Val1, Value_Ptr->Val2, Value_Ptr->Val3);
|
Value_Ptr->Val0, Value_Ptr->Val1, Value_Ptr->Val2, (8 - strlen(Value_Ptr->Val2)), " ", Value_Ptr->Val3);
|
||||||
|
|
||||||
return( NDS_OK);
|
return( NDS_OK);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user