diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-08-12 17:26:43 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-08-12 17:26:43 -0700 |
commit | a07d1e71ed3e8e9bfc81c763e60b07ffbb67c87f (patch) | |
tree | 87a95f2e7c45498a5419b89c48842f7e2cae111a /pcap-snit.c | |
parent | 522805af5838413dfc173e53855289e5b6b613aa (diff) |
Mark a string as constant.
Diffstat (limited to 'pcap-snit.c')
-rw-r--r-- | pcap-snit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-snit.c b/pcap-snit.c index 7db2fd9a..79349456 100644 --- a/pcap-snit.c +++ b/pcap-snit.c @@ -286,7 +286,7 @@ pcap_activate_snit(pcap_t *p) struct ifreq ifr; /* interface request struct */ int chunksize = CHUNKSIZE; int fd; - static char dev[] = "/dev/nit"; + static const char dev[] = "/dev/nit"; if (p->opt.rfmon) { /* |