diff options
author | mav <mav@FreeBSD.org> | 2015-09-26 11:28:45 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-09-26 11:28:45 +0000 |
commit | 70f018005eb7d733a998c68df6929d2061cc1944 (patch) | |
tree | 163120bb0f6a5aafd1db88c54b2d277be9181dee /usr.sbin/ctld | |
parent | 278a90b919a7cc851a7f86a116561998d1f051b4 (diff) | |
download | FreeBSD-src-70f018005eb7d733a998c68df6929d2061cc1944.zip FreeBSD-src-70f018005eb7d733a998c68df6929d2061cc1944.tar.gz |
Remove some duplicate, legacy, dead and questionable code.
Diffstat (limited to 'usr.sbin/ctld')
-rw-r--r-- | usr.sbin/ctld/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctld/kernel.c b/usr.sbin/ctld/kernel.c index 6826e95..3f21590 100644 --- a/usr.sbin/ctld/kernel.c +++ b/usr.sbin/ctld/kernel.c @@ -475,7 +475,7 @@ retry_port: return (NULL); } - if (list.status == CTL_PORT_LIST_ERROR) { + if (list.status == CTL_LUN_LIST_ERROR) { log_warnx("error returned from CTL_PORT_LIST ioctl: %s", list.error_str); free(str); |