if (*line == '/') {
if (mnt_cache_read_tags(cache, line) < 0)
- fprintf(stderr, "%s: read tags faild\n", line);
+ fprintf(stderr, "%s: read tags failed\n", line);
} else if (strchr(line, '=')) {
char *tag, *val;
/* try mtab */
if (rc < 0 && (cxt->optsmode & MNT_OMODE_MTAB)) {
- DBG(CXT, mnt_debug_h(cxt, "tring to apply from mtab"));
+ DBG(CXT, mnt_debug_h(cxt, "trying to apply from mtab"));
rc = mnt_context_get_mtab(cxt, &tab);
if (!rc)
rc = apply_table(cxt, tab, MNT_ITER_BACKWARD);
*/
char *p, *p0;
- DBG(CXT, mnt_debug_h(cxt, "tring mount by FS pattern list"));
+ DBG(CXT, mnt_debug_h(cxt, "trying to mount by FS pattern list"));
p0 = p = strdup(pattern);
if (!p)
/*
* try /etc/filesystems and /proc/filesystems
*/
- DBG(CXT, mnt_debug_h(cxt, "tring mount by filesystems lists"));
+ DBG(CXT, mnt_debug_h(cxt, "trying to mount by filesystems lists"));
rc = mnt_get_filesystems(&filesystems, neg ? pattern : NULL);
if (rc)
cxt->mountflags |= MS_REMOUNT | MS_RDONLY;
cxt->flags &= ~MNT_FL_LOOPDEL;
DBG(CXT, mnt_debug_h(cxt,
- "umount(2) failed [errno=%d] -- tring remount read-only",
+ "umount(2) failed [errno=%d] -- trying to remount read-only",
-cxt->syscall_status));
rc = mount(src, mnt_fs_get_target(cxt->fs), NULL,
if (!optstr || !map)
return -EINVAL;
- DBG(CXT, mnt_debug("appling 0x%08lu flags '%s'", flags, *optstr));
+ DBG(CXT, mnt_debug("applying 0x%08lu flags '%s'", flags, *optstr));
maps[0] = map;
next = *optstr;
return -EINVAL;
DBG(UPDATE, mnt_debug_h(upd,
- "reseting FS [fs=0x%p, target=%s, flags=0x%08lx]",
+ "resetting FS [fs=0x%p, target=%s, flags=0x%08lx]",
fs, target, mountflags));
if (fs) {
DBG(UPDATE, mnt_debug_h(upd, "FS template:"));