From 65a7f017b23d4351be0ee8dec71b37a0f2a832fc Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 13 Sep 2005 09:57:40 +0000 Subject: [PATCH] devsize bug --- commands/simple/devsize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/simple/devsize.c b/commands/simple/devsize.c index 3ee48c29e..f184d5297 100755 --- a/commands/simple/devsize.c +++ b/commands/simple/devsize.c @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) return 1; } - printf("%lu\n", sizeup(argv[optind])); + printf("%lu\n", sizeup(argv[1])); return 0; }