Re: [PATCH] use macro name instead of value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux