summaryrefslogtreecommitdiff
path: root/usr.bin/ar/archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ar/archive.c')
-rw-r--r--usr.bin/ar/archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/archive.c b/usr.bin/ar/archive.c
index 71606bd3efb6..c8803cc0bc1c 100644
--- a/usr.bin/ar/archive.c
+++ b/usr.bin/ar/archive.c
@@ -35,7 +35,7 @@
*/
#ifndef lint
-static const char sccsid[] = "@(#)archive.c 8.3 (Berkeley) 4/2/94";
+static char sccsid[] = "@(#)archive.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/param.h>
@@ -279,7 +279,7 @@ copy_ar(cfp, size)
{
static char pad = '\n';
off_t sz;
- int from, nr = 0, nw, off, to;
+ int from, nr, nw, off, to;
char buf[8*1024];
if (!(sz = size))