diff options
author | jkar8572 <jkar8572> | 2005-11-21 22:30:23 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2005-11-21 22:30:23 +0000 |
commit | 6e8aa2396e0b2ef59f74cc97e109bbd14a395876 (patch) | |
tree | bf4ea3afdcb3d04c3d84486fc1a397306e4f0f4d /quotaio.c | |
parent | d18a867ac9cdab3d3a6b176d242141be969351ec (diff) |
Corrected some informal language in error messages (Jan Kara)
Quota(1) has now -f option to specify a list of filesystems (Jan Kara)
Diffstat (limited to 'quotaio.c')
-rw-r--r-- | quotaio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -102,7 +102,7 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) if (!QIO_ENABLED(h) || flags & IOI_OPENFILE) { /* Need to open file? */ /* We still need to open file for operations like 'repquota' */ if ((fd = open(qfname, QIO_RO(h) ? O_RDONLY : O_RDWR)) < 0) { - errstr(_("Can't open quotafile %s: %s\n"), + errstr(_("Cannot open quotafile %s: %s\n"), qfname, strerror(errno)); goto out_handle; } @@ -125,7 +125,7 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) memset(&h->qh_info, 0, sizeof(h->qh_info)); if (h->qh_ops->init_io && h->qh_ops->init_io(h) < 0) { - errstr(_("Can't initialize quota on %s: %s\n"), h->qh_quotadev, strerror(errno)); + errstr(_("Cannot initialize quota on %s: %s\n"), h->qh_quotadev, strerror(errno)); goto out_lock; } return h; @@ -163,7 +163,7 @@ struct quota_handle *new_io(struct mntent *mnt, int type, int fmt) sstrncat(namebuf, ".new", PATH_MAX); free(qfname); if ((fd = open(namebuf, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) < 0) { - errstr(_("Can't create new quotafile %s: %s\n"), + errstr(_("Cannot create new quotafile %s: %s\n"), namebuf, strerror(errno)); return NULL; } |