* @name: holder (column) name
*
* Assigns a counter to the column. The name is used in the same way as names
- * in the filter expression. This is usable for counter that calcuate with data
+ * in the filter expression. This is usable for counter that calculate with data
* from table cells (e.g. max, sum, etc.)
*
* Returns: 0, a negative number in case of an error.
* Lines groups manipulation API. The grouping API can be used to create M:N
* relations between lines and on tree-like output it prints extra chart to
* visualize these relations. The group has unlimited number of members and
- * group childs. See libsmartcols/sample/grouping* for more details.
+ * group children. See libsmartcols/sample/grouping* for more details.
*/
/* Private API */
static struct sigaction saved_sighup;
static struct sigaction saved_sigchld;
-static volatile sig_atomic_t alarm_rised;
+static volatile sig_atomic_t alarm_raised;
static volatile sig_atomic_t sigchild;
#define SULOGIN_PASSWORD_BUFSIZ 128
static void alrm_handler(int sig __attribute__((unused)))
{
/* Timeout expired */
- alarm_rised = 1;
+ alarm_raised = 1;
}
static void chld_handler(int sig __attribute__((unused)))
if (read(fd, &c, 1) < 1) {
if (errno == EINTR || errno == EAGAIN) {
- if (alarm_rised) {
+ if (alarm_raised) {
ret = NULL;
goto quit;
}
}
fprintf(stderr, _("Login incorrect\n\n"));
}
- if (alarm_rised) {
+ if (alarm_raised) {
tcfinal(con);
warnx(_("Timed out\n\n"));
}
return;
for (int i = 0; i < 3; i++) {
- /* If the remote address for the fd_set is 0x0, no set is tehre. */
+ /* If the remote address for the fd_set is 0x0, no set is there. */
remote[i].iov_len = local[i].iov_len = fds[i]? sizeof(local_set[i]): 0;
expected_n += (ssize_t)local[i].iov_len;
local[i].iov_base = local_set + i;
realtype = mnt_get_fstype(src, &ambi, cache);
if (!realtype) {
- const char *reson = errno ? strerror(errno) : _("reason unknown");
+ const char *raeson = errno ? strerror(errno) : _("reason unknown");
if (isauto)
- verify_err(vfy, _("cannot detect on-disk filesystem type (%s)"), reson);
+ verify_err(vfy, _("cannot detect on-disk filesystem type (%s)"), raeson);
else
- verify_warn(vfy, _("cannot detect on-disk filesystem type (%s)"), reson);
+ verify_warn(vfy, _("cannot detect on-disk filesystem type (%s)"), raeson);
goto done;
}