for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {
if (is_selected (mp, msgnum) &&
!(vec[vecp++] = strdup (m_name (msgnum))))
- adios (NULL, "strdup failed");
+ die("strdup failed");
}
vec[vecp] = NULL;
execvp (prog, vec);
fprintf (stderr, "unable to exec ");
perror (rmmproc);
- _exit (-1);
+ _exit(1);
default:
arglist_free(prog, vec);
/* Sanity check */
if (mp->numsel != 0)
- adios (NULL, "oops, mp->numsel should be 0");
+ die("oops, mp->numsel should be 0");
/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;