Subject: bin/36280: small syntax misstake in ftp client source file (progressbar.c), causing compiler warning
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <dreamcatcher+netbsd@aqualize.se>
List: netbsd-bugs
Date: 05/05/2007 16:50:01
>Number:         36280
>Category:       bin
>Synopsis:       small syntax misstake in ftp client source file (progressbar.c), causing compiler warning
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 05 16:50:01 +0000 2007
>Originator:     Christer Folkesson
>Release:        
>Organization:
>Environment:
>Description:
I found that in the MAIN branch for src/usr.bin/ftp/progressbar.c line 96 there is one 'const' keyword to much.
When I tried to "make" I got a warning message from cc and it exited (because -Werror). So I guess this should be changed so it compiles nicely.
>How-To-Repeat:

>Fix:
Remove that (the second) const keyword from line 96 in progressbar.c

/* change: */
static const char const *suffixes[] = {
/* to: */
static const char *suffixes[] = {