Don't discard a const qualifier from constant strings.

This commit is contained in:
yar 2006-11-27 17:01:31 +00:00
parent a3471d7b5c
commit 23e0bb44c9

View File

@ -471,7 +471,8 @@ void
shownetstat()
{
struct netinfo *p, *q;
char proto[6], *family = "";
char proto[6];
const char *family = "";
/*
* First, delete any connections that have gone