ref: ec6edc7e8292a1717615c30cf7fba72a5e9c7b4b
parent: 2e880e7369a4b19a1348e18235d4245507844743
author: aiju <devnull@localhost>
date: Wed Oct 3 14:01:23 EDT 2012
fixed debug-getblk
--- a/sys/src/cmd/hjfs/cons.c
+++ b/sys/src/cmd/hjfs/cons.c
@@ -239,11 +239,11 @@
int rc;
uvlong r, start, end, i;
- if(argc != 3 || argc != 4)
+ if(argc != 3 && argc != 4)
return -9001;
- start = atoll(argv[3]);
+ start = atoll(argv[2]);
if(argc == 4)
- end = atoll(argv[4]);
+ end = atoll(argv[3]);
else
end = start;
ch = chanattach(fsmain, 0);
--
⑨