Date: Fri, 5 Jan 2018 08:29:32 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327582 - head/usr.sbin/dumpcis Message-ID: <201801050829.w058TWru064362@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu (ports committer) Date: Fri Jan 5 08:29:32 2018 New Revision: 327582 URL: https://svnweb.freebsd.org/changeset/base/327582 Log: Fix typo & build Approved by: kevlo Modified: head/usr.sbin/dumpcis/readcis.c Modified: head/usr.sbin/dumpcis/readcis.c ============================================================================== --- head/usr.sbin/dumpcis/readcis.c Fri Jan 5 07:29:02 2018 (r327581) +++ head/usr.sbin/dumpcis/readcis.c Fri Jan 5 08:29:32 2018 (r327582) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801050829.w058TWru064362>