- response = 0;
- cpcmd(cmd1, NULL, 0, &response);
- if (response) {
- PRINT_ERR("segment_save: DEFSEG failed with response code %i\n",
- response);
- goto out;
- }
- cpcmd(cmd2, NULL, 0, &response);
- if (response) {
- PRINT_ERR("segment_save: SAVESEG failed with response code %i\n",
- response);
- goto out;
- }
-out:
+ cpcmd(cmd1, NULL, 0, NULL);
+ cpcmd(cmd2, NULL, 0, NULL);