From 63d7f29bd987b3621838b788f216983529dd5e5a Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 26 Jan 2015 16:14:45 +0000 Subject: [PATCH] Fix build --- tar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tar.c b/tar.c index f84d98a..df24952 100644 --- a/tar.c +++ b/tar.c @@ -272,14 +272,14 @@ static void usage(void) { eprintf("usage: tar [-f tarfile] [-C dir] -j|z -x[m]|t\n" - " tar [-f tarfile] [-C dir] -c dir\n" + " tar [-f tarfile] [-C dir] -c dir\n"); } int main(int argc, char *argv[]) { struct stat st; - char *file = NULL, *dir = ".", *ap; + char *file = NULL, *dir = "."; char mode = '\0'; FILE *fp;