diff options
author | Yu-Sheng Ma <s110062131@m110.nthu.edu.tw> | 2024-01-05 08:42:50 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2024-02-13 07:07:35 +0000 |
commit | c9213e4bb924cf3e664e8b624c1affc137114ebf (patch) | |
tree | 5d52a20018fc90ef90c8adf40a26ae04a43d00fb | |
parent | 69f9c5a51346b1ada4854cb4131e8a63b7dd8b46 (diff) | |
download | src-c9213e4bb924cf3e664e8b624c1affc137114ebf.tar.gz src-c9213e4bb924cf3e664e8b624c1affc137114ebf.zip |
restore(8): Fix typo in restore.h
`operation` was spelled wrongly on line 60.
`dumped` was spelled wrongly on line 74.
Event: Advanced UNIX Programming Course (Fall'23) at NTHU.
Pull Request: https://github.com/freebsd/freebsd-src/pull/998
-rw-r--r-- | sbin/restore/restore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/restore/restore.h b/sbin/restore/restore.h index e54555f39dd8..407816993196 100644 --- a/sbin/restore/restore.h +++ b/sbin/restore/restore.h @@ -57,7 +57,7 @@ extern long volno; /* current volume being read */ extern long ntrec; /* number of TP_BSIZE records per tape block */ extern time_t dumptime; /* time that this dump begins */ extern time_t dumpdate; /* time that this dump was made */ -extern char command; /* opration being performed */ +extern char command; /* operation being performed */ extern FILE *terminal; /* file descriptor for the terminal input */ extern int Bcvt; /* need byte swapping on inodes and dirs */ extern int oldinofmt; /* reading tape with FreeBSD 1 format inodes */ @@ -71,7 +71,7 @@ struct entry { char e_type; /* type of this entry, see below */ short e_flags; /* status flags, see below */ ino_t e_ino; /* inode number in previous file sys */ - long e_index; /* unique index (for dumpped table) */ + long e_index; /* unique index (for dumped table) */ struct entry *e_parent; /* pointer to parent directory (..) */ struct entry *e_sibling; /* next element in this directory (.) */ struct entry *e_links; /* hard links to this inode */ |