Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171925407
D59667.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
633 B
Referenced Files
None
Subscribers
None
D59667.diff
View Options
diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c
--- a/sbin/devmatch/devmatch.c
+++ b/sbin/devmatch/devmatch.c
@@ -204,7 +204,7 @@
{
int rv;
char key[256];
- char *cp;
+ const char *cp;
if (pnpinfo == NULL)
return -1;
@@ -248,7 +248,7 @@
{
static char retval[256];
char key[256];
- char *cp;
+ const char *cp;
if (pnpinfo == NULL) {
*retval = '\0';
@@ -282,7 +282,8 @@
char val1[256], val2[256];
int ival, len, ents, i, notme, mask, bit, v, found;
void *ptr, *walker;
- char *lastmod = NULL, *cp, *s;
+ char *lastmod = NULL, *cp;
+ const char *s;
walker = hints;
getint(&walker);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 15, 3:47 PM (21 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38967768
Default Alt Text
D59667.diff (633 B)
Attached To
Mode
D59667: devmatch(8): Preserve const qualifier on strchr(3) and strstr(3) results
Attached
Detach File
Event Timeline
Log In to Comment