summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-01-07 10:43:40 +0000
committerasami <asami@FreeBSD.org>1997-01-07 10:43:40 +0000
commitccf2644e900235ddc9676a385fe34e095ae43315 (patch)
tree56ca76124fe0e67883c538fe64b1ee67819fa9d8
parent3f7af7a1d1570eb9c2e419830221c31c87ad024e (diff)
downloadFreeBSD-src-ccf2644e900235ddc9676a385fe34e095ae43315.zip
FreeBSD-src-ccf2644e900235ddc9676a385fe34e095ae43315.tar.gz
Typo, "%d" -> "%s". This caused tar to print things like
tar: Can't change to directory 282656 : No such file or directory
-rw-r--r--gnu/usr.bin/tar/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/tar/tar.c b/gnu/usr.bin/tar/tar.c
index 73aba24..8fa0923 100644
--- a/gnu/usr.bin/tar/tar.c
+++ b/gnu/usr.bin/tar/tar.c
@@ -1142,7 +1142,7 @@ again:
if (nlp->fake)
{
if (nlp->change_dir && chdir (nlp->change_dir))
- msg_perror ("Can't change to directory %d", nlp->change_dir);
+ msg_perror ("Can't change to directory %s", nlp->change_dir);
namelist = 0;
return 1;
}
OpenPOWER on IntegriCloud