diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2018-01-05 08:29:32 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2018-01-05 08:29:32 +0000 |
commit | be5f9a5a5d64ab9df8c677e2dbfa4b67ab74e9ee (patch) | |
tree | 7441a74feb9162ed9b7d2b759fb9f91c2c0f6d5c /usr.sbin/dumpcis/readcis.c | |
parent | e96d5d7bb3e85706797926af01a044c27800c6fe (diff) | |
download | src-be5f9a5a5d64ab9df8c677e2dbfa4b67ab74e9ee.tar.gz src-be5f9a5a5d64ab9df8c677e2dbfa4b67ab74e9ee.zip |
Fix typo & build
Approved by: kevlo
Notes
Notes:
svn path=/head/; revision=327582
Diffstat (limited to 'usr.sbin/dumpcis/readcis.c')
-rw-r--r-- | usr.sbin/dumpcis/readcis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dumpcis/readcis.c b/usr.sbin/dumpcis/readcis.c index 53dc0eca9f65..ce072d017cf4 100644 --- a/usr.sbin/dumpcis/readcis.c +++ b/usr.sbin/dumpcis/readcis.c @@ -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); |