Skip to content

Commit

Permalink
Fix RACF support bug
Browse files Browse the repository at this point in the history
Signed-off-by: jichenjc <jichenjc@cn.ibm.com>
  • Loading branch information
jichenjc committed Sep 17, 2019
1 parent d70d222 commit 7f833f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion zthin-parts/zthin/src/smcli.c
Expand Up @@ -417,7 +417,7 @@ int main(int argC, char* argV[]) {
readTraceFile(&vmapiContext);
TRACE_ENTRY_FLOW(&vmapiContext, TRACEAREA_ZTHIN_GENERAL);

rc = getSmapiLevel(&vmapiContext, " ", &smapiLevel);
rc = getSmapiLevel(&vmapiContext, "", &smapiLevel);
if (rc != 0){
printf("\nERROR: Unable to determine SMAPI level.\n");
return 1;
Expand Down
2 changes: 1 addition & 1 deletion zthin-parts/zthin/src/smcliImage.c
Expand Up @@ -369,7 +369,7 @@ int imageCPUDefineDM(int argC, char* argV[], struct _vmApiInternalContext* vmapi
char strMsg[250];


rc = getSmapiLevel(vmapiContextP, " ", &smapiLevel);
rc = getSmapiLevel(vmapiContextP, "", &smapiLevel);
if (rc != 0){
printAndLogProcessingErrors("Image_CPU_Define_DM", rc, vmapiContextP, "", 0);
printf("\nERROR: Unable to determine SMAPI level.\n");
Expand Down
2 changes: 1 addition & 1 deletion zthin-parts/zthin/src/smcliImageDefinition.c
Expand Up @@ -365,7 +365,7 @@ int imageDefinitionQueryDM(int argC, char* argV[], struct _vmApiInternalContext*
const char * argumentsRequired = "Tk";
char tempStr[1];

rc = getSmapiLevel(vmapiContextP, " ", &smapiLevel);
rc = getSmapiLevel(vmapiContextP, "", &smapiLevel);
if (rc != 0){
printf("\nERROR: Unable to determine SMAPI level.\n");
return 1;
Expand Down
4 changes: 2 additions & 2 deletions zthin-parts/zthin/src/smcliSystem.c
Expand Up @@ -368,7 +368,7 @@ int systemDiskQuery(int argC, char* argV[], struct _vmApiInternalContext* vmapiC

int smapiLevel = 0;

rc = getSmapiLevel(vmapiContextP, " ", &smapiLevel);
rc = getSmapiLevel(vmapiContextP, "", &smapiLevel);
if (rc != 0){
printf("\nERROR: Unable to determine SMAPI level.\n");
return 1;
Expand Down Expand Up @@ -3050,7 +3050,7 @@ int systemWWPNQuery(int argC, char* argV[], struct _vmApiInternalContext* vmapiC
INIT_MESSAGE_BUFFER(&saveMsgs, MESSAGE_BUFFER_SIZE, msgBuff) ;


rc = getSmapiLevel(vmapiContextP, " ", &smapiLevel);
rc = getSmapiLevel(vmapiContextP, "", &smapiLevel);
if (rc != 0){
printf("\nERROR: Unable to determine SMAPI level.\n");
return 1;
Expand Down
2 changes: 1 addition & 1 deletion zthin-parts/zthin/src/smcliVirtual.c
Expand Up @@ -4099,7 +4099,7 @@ int virtualNetworkVswitchQueryExtended(int argC, char* argV[], struct _vmApiInte
int native_vlan_id_int;
int user_vlan_id_int;

rc = getSmapiLevel(vmapiContextP, " ", &smapiLevel);
rc = getSmapiLevel(vmapiContextP, "", &smapiLevel);
// Options that have arguments are followed by a : character
while ((option = getopt(argC, argV, "T:k:h?")) != -1)
switch (option) {
Expand Down

0 comments on commit 7f833f0

Please sign in to comment.