From 87c1bc774b25dbb01a02d94c4517ee070e514f99 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 30 Mar 1989 15:14:37 +0000 Subject: [PATCH] fix to fix --- util/arch/archiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/arch/archiver.c b/util/arch/archiver.c index 0a21c14a9..2c5c7562f 100644 --- a/util/arch/archiver.c +++ b/util/arch/archiver.c @@ -222,7 +222,7 @@ char *argv[]; } } - if (needs_arg) + if (needs_arg && argc <= 3) usage(); if (local_fl) strcpy(temp_arch, "ar.XXXXXX"); else strcpy(temp_arch, "/tmp/ar.XXXXXX");