$OpenBSD: patch-src_tar_c,v 1.1 2005/01/30 14:56:57 naddy Exp $
--- src/tar.c.orig	Tue Dec 21 15:11:26 2004
+++ src/tar.c	Sun Jan 30 15:22:05 2005
@@ -617,9 +617,9 @@ parse_opt(int key, char *arg, struct arg
   
   switch (key)
     {
-      case 1:
+      case ARGP_KEY_ARG:
 	/* File name or non-parsed option, because of ARGP_IN_ORDER */
-	name_add (optarg);
+	name_add (arg);
 	args->input_files++;
 	break;
 
