mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
Fix typo & build
Approved by: kevlo
This commit is contained in:
parent
e96d5d7bb3
commit
be5f9a5a5d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327582
|
@ -336,9 +336,9 @@ ck_linktarget(int fd, off_t offs, int flag)
|
|||
{
|
||||
char blk[5];
|
||||
|
||||
if (ioctl(fd, PIOCRWFLAG, &flags) < 0)
|
||||
if (ioctl(fd, PIOCRWFLAG, &flag) < 0)
|
||||
err(1, "Setting flag to rad %s memory failed",
|
||||
flags ? "attribute" : "common");
|
||||
flag ? "attribute" : "common");
|
||||
if (lseek(fd, offs, SEEK_SET) < 0)
|
||||
err(1, "Unable to seek to memory offset %ju",
|
||||
(uintmax_t)offs);
|
||||
|
|
Loading…
Reference in a new issue