FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-29-2011, 12:08 PM
Vratislav Podzimek
 
Default use macro name instead of value

---
loader/kickstart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index d53b6e7..f96a7a9 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -850,7 +850,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
FL_EARLY_NETWORKING(flags) ||
ibft_present())) {
logMessage(INFO, "activating first device from kickstart because network is needed");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
@@ -866,7 +866,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
attr = getObject(ele, "activate", 0);
if (isTrue(attr)) {
logMessage(INFO, "activating because --activate flag is set");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-29-2011, 12:08 PM
Vratislav Podzimek
 
Default use macro name instead of value

---
loader/kickstart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index d53b6e7..f96a7a9 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -850,7 +850,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
FL_EARLY_NETWORKING(flags) ||
ibft_present())) {
logMessage(INFO, "activating first device from kickstart because network is needed");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
@@ -866,7 +866,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
attr = getObject(ele, "activate", 0);
if (isTrue(attr)) {
logMessage(INFO, "activating because --activate flag is set");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-29-2011, 12:20 PM
Ales Kozumplik
 
Default use macro name instead of value

On 06/29/2011 02:08 PM, Vratislav Podzimek wrote:

---
loader/kickstart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index d53b6e7..f96a7a9 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -850,7 +850,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
FL_EARLY_NETWORKING(flags) ||
ibft_present())) {
logMessage(INFO, "activating first device from kickstart because network is needed");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
@@ -866,7 +866,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
attr = getObject(ele, "activate", 0);
if (isTrue(attr)) {
logMessage(INFO, "activating because --activate flag is set");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;


This looks OK.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-29-2011, 12:20 PM
Ales Kozumplik
 
Default use macro name instead of value

On 06/29/2011 02:08 PM, Vratislav Podzimek wrote:

---
loader/kickstart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/kickstart.c b/loader/kickstart.c
index d53b6e7..f96a7a9 100644
--- a/loader/kickstart.c
+++ b/loader/kickstart.c
@@ -850,7 +850,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
FL_EARLY_NETWORKING(flags) ||
ibft_present())) {
logMessage(INFO, "activating first device from kickstart because network is needed");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;
@@ -866,7 +866,7 @@ static void setKickstartNetwork(struct loaderData_s * loaderData, PyObject *hand
attr = getObject(ele, "activate", 0);
if (isTrue(attr)) {
logMessage(INFO, "activating because --activate flag is set");
- if (process_kickstart_wifi(loaderData) != 0) {
+ if (process_kickstart_wifi(loaderData) != WIFI_ACTIVATION_OK) {
if (device_flushed) {
loaderData->netDev = strdup(cmdline_device);
loaderData->netDev_set = 1;


This looks OK.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org