Signed-off-by: wangyunqing <wangyunqing@inspur.com>
class HeaderView {
protected:
- /* Everythng is char here (ASCII encoding), so we don't need to worry about
+ /* Everything is char here (ASCII encoding), so we don't need to worry about
* the struct padding. */
const struct header_t {
char filename[100];
static_assert(sizeof(*header) == BLOCK_SIZE,
"The TAR header must be exactly BLOCK_SIZE length");
- /* The label is far more imporant from what the code really does. */
+ /* The label is far more important from what the code really does. */
static size_t pos2len(const size_t pos) {
return pos + 1;
}