From nobody Tue Feb 13 07:24:10 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TYt9l2DhVz59ZqD; Tue, 13 Feb 2024 07:24:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TYt9l0DdFz4cJn; Tue, 13 Feb 2024 07:24:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707809051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LznoiPGKVMGSveL2Hs/gOWSEuLdMOSMnizOnGzatOF8=; b=QSCMV/lW/j3mXL4ifngW5W4u01gTsDgiPZ5YhC79nmG15Vr/iZLIJ4YDMJ+Uf3+/6j3Smf lxaGLiK3z/iXuuEfYO9gPeos47r6Y0oJ/7xHPkSs0FX1b5IBv84xGuhXfG6AVH8guz+os5 8NClZzZltwHGccceJCYoEfGOBKf4VCQTuF1kNRvAcyQ4YvYYiI6zjYQvf7ZLkf9nOXcVy+ 2B0oSh7nRNPpoKY5p13Y89BKKaEHeLz5MJh++HZa4FQu/F/g0CltH2U+sxEK7F6RCxL+Km /59XxJLf7hGsD2fZ/DRP4PWVFe7/0qZYVbWYFjfiXQ1ixXPkeDi1NyiPAE1LeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707809051; a=rsa-sha256; cv=none; b=cd2gR3wBwibEXYI9pViAGZXqz/tMM6rvjOzNF3tJI08UaM5IiYFkBgddbTjnbPthocU+6L h+oeM/Cysr1nzCe78L+iznk4/V7NzDh4TB3EdjP/6tGzVaHx3zF5rJuAwcFR5G3kFpM9z+ pL13dCHFgHrZmz1AwfBs6A67SNfye/9s5Cqh3bc7yuC/oT3R7FCA5fZu7qDICzfBh390Lg nfaKMoGiCJCEFPerh93B19fE5Iak4f28iEPsUfNIype/PzbAt6hAgovjdLXoCrTiNQI1/6 yWkrcwjk3+WnjTrg+NXDkQFfX2dSF83CXvvYuhzop1TtEAkXWGbA4oe95BD03w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707809051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LznoiPGKVMGSveL2Hs/gOWSEuLdMOSMnizOnGzatOF8=; b=a4Wt4PSqusqx2uvkMcUhZtL0Mpy5EvyqmlzYGi4KWj3Mr649AUoMh/c8+iXlg6mSgRSsII dG6/mZAXfSGljDuNHFNn6cFJHYcsn/8HbAtS02zxNagYY6owFDmx9qGoqsxCrhjEfnE2rO c6b3d+kUwXkH6Hyc0TONXMQDo9bLZyGzkgGbAVFMMQh2opETIDpMuJK4CoxCeodsbjl1c6 AA1BTzhtBueS8+O22YcZc11OFW3lQJX+tbk5rWpXScTZibqSXsVjrVch8qwe/sOR1lNVpj GCwbZg3L4yxGPJGj6OiNTRlADhtm1m42BVZtMnMzj2T8sKN4Vp+yJY5C+vf6Kg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TYt9k6QYLz15k3; Tue, 13 Feb 2024 07:24:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41D7OAqD092558; Tue, 13 Feb 2024 07:24:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41D7OAt6092555; Tue, 13 Feb 2024 07:24:10 GMT (envelope-from git) Date: Tue, 13 Feb 2024 07:24:10 GMT Message-Id: <202402130724.41D7OAt6092555@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Li-Wen Hsu Subject: git: c9213e4bb924 - main - restore(8): Fix typo in restore.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c9213e4bb924cf3e664e8b624c1affc137114ebf Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=c9213e4bb924cf3e664e8b624c1affc137114ebf commit c9213e4bb924cf3e664e8b624c1affc137114ebf Author: Yu-Sheng Ma AuthorDate: 2024-01-05 08:42:50 +0000 Commit: Li-Wen Hsu CommitDate: 2024-02-13 07:07:35 +0000 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 --- sbin/restore/restore.h | 4 ++-- 1 file 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 */