diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-12-23 23:53:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-12-23 23:53:03 +0000 |
commit | 6704851173a25ce160e7f8b86a5ebdbca9a5f07c (patch) | |
tree | 62be6b9a5f6bb9025165331374f25b9ceee1632c /sbin | |
parent | a2f982cd5191f68dd2c2ed2c896209d88117def7 (diff) |
swap exit and quit
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/cmd.c | 6 | ||||
-rw-r--r-- | sbin/fdisk/fdisk.8 | 4 | ||||
-rw-r--r-- | sbin/fdisk/user.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index 5d25aabfa95..fa9ddfc4f13 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.14 1997/10/21 22:49:32 provos Exp $ */ +/* $OpenBSD: cmd.c,v 1.15 1997/12/23 23:52:58 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -274,7 +274,7 @@ Xwrite(cmd, disk, mbr, tt, offset) } int -Xexit(cmd, disk, r, tt, offset) +Xquit(cmd, disk, r, tt, offset) cmd_t *cmd; disk_t *disk; mbr_t *r; @@ -302,7 +302,7 @@ Xabort(cmd, disk, mbr, tt, offset) int -Xquit(cmd, disk, mbr, tt, offset) +Xexit(cmd, disk, mbr, tt, offset) cmd_t *cmd; disk_t *disk; mbr_t *mbr; diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8 index 912683aab56..e36725df6a3 100644 --- a/sbin/fdisk/fdisk.8 +++ b/sbin/fdisk/fdisk.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fdisk.8,v 1.10 1997/10/16 10:20:19 deraadt Exp $ +.\" $OpenBSD: fdisk.8,v 1.11 1997/12/23 23:53:02 deraadt Exp $ .\" .\" Copyright (c) 1997 Tobias Weingartner .\" All rights reserved. @@ -196,7 +196,7 @@ This will exit the current level of fdisk, either returning to the previously selected in memory copy of a boot block, or exit the program if there is none. Unlike .Em exit -it does NOT write the modified block out. +it does write the modified block out. .It Em abort Quit program without saving current changes. .El diff --git a/sbin/fdisk/user.c b/sbin/fdisk/user.c index 8ee8e8d373b..5420a972aa1 100644 --- a/sbin/fdisk/user.c +++ b/sbin/fdisk/user.c @@ -1,4 +1,4 @@ -/* $OpenBSD: user.c,v 1.11 1997/10/21 22:49:35 provos Exp $ */ +/* $OpenBSD: user.c,v 1.12 1997/12/23 23:53:02 deraadt Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -59,8 +59,8 @@ static cmd_table_t cmd_table[] = { {"select", Xselect, "Select extended partition table entry MBR"}, {"print", Xprint, "Print loaded MBR partition table"}, {"write", Xwrite, "Write loaded MBR to disk"}, - {"exit", Xexit, "Exit edit of current MBR, saving current changes"}, - {"quit", Xquit, "Quit edit of current MBR, without saving changes"}, + {"exit", Xexit, "Exit edit of current MBR, without saving changes"}, + {"quit", Xquit, "Quit edit of current MBR, saving current changes"}, {"abort", Xabort, "Abort program without saving current changes"}, {NULL, NULL, NULL} }; |