From: unknown Date: Sat, 27 Dec 2014 18:54:19 +0000 (-0800) Subject: Fix small bug in main when there is less t han one input file X-Git-Url: https://pd.if.org/git/?p=btree;a=commitdiff_plain;h=30b823adda6b72659bd780138301c713dd9d2cc5 Fix small bug in main when there is less t han one input file --- diff --git a/threadskv10h.c b/threadskv10h.c index 2b21000..469ee3d 100644 --- a/threadskv10h.c +++ b/threadskv10h.c @@ -3643,7 +3643,7 @@ BtKey *ptr; #endif } else { - args[idx].infile = argv[12]; + args[0].infile = argv[12]; args[0].type = argv[3]; args[0].main = main; args[0].mgr = mgr;