rc = daoMp.retrieveSystemData(argv[2]);
printf("rc = %d\n");
if (rc == 0) {
ErrLog("Mount point found\n");
printf("Mount point found\n");
return 4;
}
else {
ErrLog("Could not retrieve system data\n");
printf("Could not retrieve system data\n");
return -1;
}
Output: rc = -208814497
Mount point found
How come, if block validation fails?