summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/boot.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2008-01-31 13:16:29 +0000
committeryar <yar@FreeBSD.org>2008-01-31 13:16:29 +0000
commit39c1449b60a85d4949259fb65114bbeabdefc1f6 (patch)
tree737347c2f022f2a07fcd1ea452ae3eec6af588cd /sbin/fsck_msdosfs/boot.c
parent94236d3d42c3eeb2260a8c4718b8f469ee63cd4b (diff)
downloadFreeBSD-src-39c1449b60a85d4949259fb65114bbeabdefc1f6.zip
FreeBSD-src-39c1449b60a85d4949259fb65114bbeabdefc1f6.tar.gz
Use consistent style in user prompts: the question is in a new line
and begins with a capital letter. The rest of pwarn/ask pairs here follows this style. Requested by: bde
Diffstat (limited to 'sbin/fsck_msdosfs/boot.c')
-rw-r--r--sbin/fsck_msdosfs/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_msdosfs/boot.c b/sbin/fsck_msdosfs/boot.c
index 07d62ac..ae786e7 100644
--- a/sbin/fsck_msdosfs/boot.c
+++ b/sbin/fsck_msdosfs/boot.c
@@ -123,8 +123,8 @@ readboot(dosfs, boot)
|| fsinfo[0x3fd]
|| fsinfo[0x3fe] != 0x55
|| fsinfo[0x3ff] != 0xaa) {
- pwarn("Invalid signature in fsinfo block, ");
- if (ask(0, "fix")) {
+ pwarn("Invalid signature in fsinfo block\n");
+ if (ask(0, "Fix")) {
memcpy(fsinfo, "RRaA", 4);
memcpy(fsinfo + 0x1e4, "rrAa", 4);
fsinfo[0x1fc] = fsinfo[0x1fd] = 0;
OpenPOWER on IntegriCloud