Fix usage: message to print out corrrectly.
Submitted by: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
This commit is contained in:
parent
2bc85bbf31
commit
223e65965d
@ -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