diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-06-28 19:17:57 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-06-28 19:17:57 +0000 |
commit | ab0556a8a996fce043c56978e4721ca2fb2ed599 (patch) | |
tree | 91a0b5d3eeb2f215f5fb053dc4a57a7c1e357c92 /sbin | |
parent | 77648fc491e6ad0b4668ef412d101c9bf3ee51ef (diff) |
Use argv[0] where argv[0] is meant, Nicholas Marriott
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/scan_ffs/scan_ffs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/scan_ffs/scan_ffs.c b/sbin/scan_ffs/scan_ffs.c index fea888a3eba..e1ba6ff0420 100644 --- a/sbin/scan_ffs/scan_ffs.c +++ b/sbin/scan_ffs/scan_ffs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scan_ffs.c,v 1.11 2004/02/16 19:13:03 deraadt Exp $ */ +/* $OpenBSD: scan_ffs.c,v 1.12 2006/06/28 19:17:56 pedro Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist, Tobias Weingartner @@ -160,7 +160,7 @@ main(int argc, char *argv[]) fd = opendev(argv[0], O_RDONLY, OPENDEV_PART, NULL); if (fd < 0) - err(1, "%s", argv[1]); + err(1, "%s", argv[0]); return (ufsscan(fd, beg, end, flags)); } |