- Constify local path variable for chflagsat().
- Use correct format characters (%lx) for u_long. This fixes the build broken in r248599.
This commit is contained in:
parent
b3dcd51dde
commit
051a23d4e8
@ -1592,7 +1592,7 @@ tmpfs_print(struct vop_print_args *v)
|
||||
|
||||
node = VP_TO_TMPFS_NODE(vp);
|
||||
|
||||
printf("tag VT_TMPFS, tmpfs_node %p, flags 0x%x, links %d\n",
|
||||
printf("tag VT_TMPFS, tmpfs_node %p, flags 0x%lx, links %d\n",
|
||||
node, node->tn_flags, node->tn_links);
|
||||
printf("\tmode 0%o, owner %d, group %d, size %jd, status 0x%x\n",
|
||||
node->tn_mode, node->tn_uid, node->tn_gid,
|
||||
|
@ -2689,7 +2689,7 @@ int
|
||||
sys_chflagsat(struct thread *td, struct chflagsat_args *uap)
|
||||
{
|
||||
int fd = uap->fd;
|
||||
char *path = uap->path;
|
||||
const char *path = uap->path;
|
||||
u_long flags = uap->flags;
|
||||
int atflag = uap->atflag;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user