From: Michael Brown Date: Thu, 21 Dec 2006 18:42:51 +0000 (+0000) Subject: ibft_fill_data() prototype change. X-Git-Tag: v0.9.3~830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9485478acc97d23d89d953199b9f54e016efdcc3;p=thirdparty%2Fipxe.git ibft_fill_data() prototype change. --- diff --git a/src/include/gpxe/ibft.h b/src/include/gpxe/ibft.h index ad44c7f79..70d284861 100644 --- a/src/include/gpxe/ibft.h +++ b/src/include/gpxe/ibft.h @@ -4,9 +4,7 @@ /* Placeholder file */ static inline int ibft_fill_data ( struct net_device *netdev __unused, - const char *initiator_iqn __unused, - struct sockaddr_tcpip *st_target __unused, - const char *target_iqn __unused ) { + struct iscsi_session *iscsi __unused ) { return 0; } diff --git a/src/tests/iscsiboot.c b/src/tests/iscsiboot.c index f7cf8b741..65a820a90 100644 --- a/src/tests/iscsiboot.c +++ b/src/tests/iscsiboot.c @@ -35,7 +35,7 @@ int test_iscsiboot ( const char *initiator_iqn, strerror ( rc ) ); return rc; } - ibft_fill_data ( netdev, initiator_iqn, target, target_iqn ); + ibft_fill_data ( netdev, &test_iscsidev.iscsi ); memset ( &drive, 0, sizeof ( drive ) ); drive.drive = drivenum; drive.blockdev = &test_iscsidev.scsi.blockdev;