mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
Fix usage: message to print out corrrectly.
Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
This commit is contained in:
parent
94fe059277
commit
39413a2c2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15285
@ -23,7 +23,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: wrattr.c,v 1.4 1996/04/18 04:24:57 nate Exp $
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -45,7 +45,7 @@ wrattr_main(argc, argv)
|
||||
off_t offs;
|
||||
|
||||
if (argc != 4) {
|
||||
fprintf(stderr, "usage: wrmem slot offs value\n");
|
||||
fprintf(stderr, "usage: %s wrattr slot offs value\n", argv[0]);
|
||||
exit(1);
|
||||
}
|
||||
sprintf(name, "/dev/card%d", atoi(argv[1]));
|
||||
|
Loading…
Reference in New Issue
Block a user