NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/46259: Use the correct parameter in ufs_extattr.c
>Number: 46259
>Category: kern
>Synopsis: Use the correct parameter in ufs_extattr.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 26 07:30:00 +0000 2012
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Change parameter from attr to attrname.
>How-To-Repeat:
>Fix:
diff -u -p -r1.37 ufs_extattr.c
--- sys/ufs/ufs/ufs_extattr.c 13 Mar 2012 18:41:14 -0000 1.37
+++ sys/ufs/ufs/ufs_extattr.c 23 Mar 2012 10:18:18 -0000
@@ -133,7 +133,7 @@ from_freebsd_extattr(int attrnamespace,
attr = kmem_alloc(len, KM_SLEEP);
- snprintf(attr, len, "%s.%s", namespace, attr);
+ snprintf(attr, len, "%s.%s", namespace, attrname);
return attr;
}
Home |
Main Index |
Thread Index |
Old Index