inst->lockpath = NULL;
}
free(diskpath);
- return;
}
static void unlock_disk(struct fsck_instance *inst)
free(i->lockpath);
mnt_unref_fs(i->fs);
free(i);
- return;
}
static struct libmnt_fs *add_dummy_fs(const char *device)
printf(_("check aborted.\n"));
exit(FSCK_EX_OK);
}
- return;
}
die(_("seek failed in write_super_block"));
if (MINIX_BLOCK_SIZE != write(device_fd, super_block_buffer, MINIX_BLOCK_SIZE))
die(_("unable to write super-block"));
- return;
}
static void
if (inode && S_ISDIR(inode->i_mode))
recursive_check(ino);
name_depth--;
- return;
}
static void
if (inode && S_ISDIR(inode->i_mode))
recursive_check2(ino);
name_depth--;
- return;
}
static void
if (w <= 0)
w = ent->name ? strlen(ent->name) : 0;
ic->width = ic->width < w ? w : ic->width;
- return;
}
void add_uid(struct idcache *cache, unsigned long int id)
sizeof(ul_jrand_seed)-sizeof(unsigned short));
}
#endif
- return;
}
if (removable)
dev->bid_flags |= BLKID_BID_FL_REMOVABLE;
}
- return;
}
#define PROC_PARTITIONS "/proc/partitions"
add_to_dirlist(dirname, dp->d_name, list);
}
closedir(dir);
- return;
}
/* Directories where we will try to search for device numbers */
chn->driver->name,
chn->driver->idinfos[chn->idx]->name,
pr->wipe_off, pr->wipe_size));
- return;
}
/*
return;
errout:
close(fd);
- return;
}
#ifdef TEST_PROGRAM
}
ctl->username = argv[optind];
}
- return;
}
/*
warnx(_("%s: CHFN_RESTRICT has unexpected value: %s"), _PATH_LOGINDEFS, s);
if (!ctl->allow_fullname && !ctl->allow_room && !ctl->allow_work && !ctl->allow_home)
errx(EXIT_FAILURE, _("%s: CHFN_RESTRICT does not allow any changes"), _PATH_LOGINDEFS);
- return;
}
/*
err(EXIT_FAILURE, _("failed to add output data"));
++n;
}
- return;
}
#ifdef HAVE_LIBSYSTEMD
static void print_journal_tail(const char *journal_path, uid_t uid, size_t len, int time_mode)
ctl->do_kill = 1;
if (ctl->do_pid)
errx(EXIT_FAILURE, _("%s and %s are mutually exclusive"), "--pid", "--signal");
- continue;
}
if (!*argv)
errx(EXIT_FAILURE, _("not enough arguments"));
}
DBG(LIST, ul_debugobj(*ls0, " add dir: %s", ls->path));
- return;
}
/* special case for '*' in the paths */
dirlist_add_dir(ls, type, tok);
free(pathcp);
- return;
}
static void construct_dirlist_from_argv(struct wh_dirlist **ls,
dirlist_add_dir(ls, type, argv[i]);
*idx = i;
}
-
- return;
}
static void construct_dirlist(struct wh_dirlist **ls,
else
dirlist_add_subdir(ls, type, paths[i]);
}
- return;
}
static void free_dirlist(struct wh_dirlist **ls0, int type)
ls = ls->next;
}
}
-
- return;
}
++(*count);
}
closedir(dirp);
- return;
}
static void lookup(const char *pattern, struct wh_dirlist *ls, int want)
if (!uflag || count > 1)
putchar('\n');
- return;
}
static void list_dirlist(struct wh_dirlist *ls)
}
ipc_shm_free_info(shmds);
- return;
}
static void do_sem (char format)
}
ipc_sem_free_info(semds);
- return;
}
static void do_msg (char format, int unit)
}
ipc_msg_free_info(msgds);
- return;
}
static void print_shm(int shmid, int unit)
#endif
va_end(args);
fflush(NULL);
- return;
}
static int lookup_table(const struct ld_table *tab, const char *str)
}
if (pr)
blkid_free_probe(pr);
- return;
}
static int display_summary(void)
default: /* should be impossible to reach */
abort();
}
- return;
}
static void screendump(struct setterm_control *ctl)
free(ctl->in_device);
if (close_stream(out) != 0)
errx(EXIT_FAILURE, _("write error"));
- return;
}
/* Some options are applicable when terminal is virtual console. */
/* return the format string or check for another */
if (match ^ clr->invert)
return clr->fmt;
- continue;
}
/* no match */