strncpy(group, grpname, sizeof(group) - 1);
retval = set_controller(ctl, controller_name, control_file);
if (retval) {
- fprintf(stderr, "Setting controller failled\n");
+ fprintf(stderr, "Setting controller failed\n");
return NULL;
}
tmp_entry = (struct mntent *) malloc(sizeof(struct mntent));
if (!tmp_entry) {
- perror("Error: failled to mallloc for mntent\n");
+ perror("Error: failed to malloc for mntent\n");
ret = errno;
goto error;
}
int ret;
/*
- * No need to test the next 3 scenarios separately for Multimnt
+ * No need to test the next 3 scenarios separately for multimnt
* so testing them only under single mount
*/
if (fs_mounted == FS_MOUNTED) {