Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fsck_udf fsck_udf: match usage to man page; fix typos
details: https://anonhg.NetBSD.org/src/rev/0f82f6f42824
branches: trunk
changeset: 364686:0f82f6f42824
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Apr 06 13:42:39 2022 +0000
description:
fsck_udf: match usage to man page; fix typos
diffstat:
sbin/fsck_udf/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r f9624ecb7363 -r 0f82f6f42824 sbin/fsck_udf/main.c
--- a/sbin/fsck_udf/main.c Wed Apr 06 13:41:13 2022 +0000
+++ b/sbin/fsck_udf/main.c Wed Apr 06 13:42:39 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.1 2022/04/06 13:35:50 reinoud Exp $ */
+/* $NetBSD: main.c,v 1.2 2022/04/06 13:42:39 wiz Exp $ */
/*
* Copyright (c) 2022 Reinoud Zandijk
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.1 2022/04/06 13:35:50 reinoud Exp $");
+__RCSID("$NetBSD: main.c,v 1.2 2022/04/06 13:42:39 wiz Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -1040,7 +1040,7 @@
case UDF_EXT_REDIRECT :
if (piece_len != context.sector_size) {
/* should this be an error? */
- pwarn("Got extention redirect with wrong size %d\n",
+ pwarn("Got extension redirect with wrong size %d\n",
piece_len);
error = EINVAL;
break;
@@ -3501,7 +3501,7 @@
node->fsck_flags |= FSCK_NODE_FLAG_PAR_NOT_FOUND;
rest_len = node->found.inf_len;
- /* walk trough all our FIDs in the directory stream */
+ /* walk through all our FIDs in the directory stream */
bpos = node->directory;
fpos = 0;
while (rest_len > 0) {
@@ -4321,7 +4321,7 @@
static void
usage(void)
{
- (void)fprintf(stderr, "Usage: %s [-psSynfH] filesystem ... \n",
+ (void)fprintf(stderr, "Usage: %s [-fHnpSsy] file-system ... \n",
getprogname());
exit(FSCK_EXIT_USAGE);
}
Home |
Main Index |
Thread Index |
Old Index