diff options
Diffstat (limited to 'c/blk.c')
| -rw-r--r-- | c/blk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ void main(void) { if (argc >= 3 && argv[0][0] == 'f') { bfill(atou(argv[1]), atou(argv[2])); } else if (argc >= 2 && argv[0][0] == 'p') { - putu(bpeek(atou(argv[1]))); nl(); + putu(bpeek2(atou(argv[1]), argc>=3?atou(argv[2]):0)); nl(); } else { puts("usage: blk fill <n> <v> | blk peek <n>"); nl(); } |
