[packages] libtool: I don't know what crackhead thought that relinking with /usr...
[openwrt.git] / package / mac80211 / patches / 018-revert_printk_va_format.patch
index 2cbc0f9..5ac97be 100644 (file)
        va_end(args);
  }
  #endif /* DEBUG */
        va_end(args);
  }
  #endif /* DEBUG */
+--- a/drivers/net/wireless/ath/main.c
++++ b/drivers/net/wireless/ath/main.c
+@@ -60,16 +60,13 @@ EXPORT_SYMBOL(ath_rxbuf_alloc);
+ int ath_printk(const char *level, struct ath_common *common,
+              const char *fmt, ...)
+ {
+-      struct va_format vaf;
+       va_list args;
+       int rtn;
+       va_start(args, fmt);
+-      vaf.fmt = fmt;
+-      vaf.va = &args;
+-
+-      rtn = printk("%sath: %pV", level, &vaf);
++      printk("%sath: ", level);
++      rtn = vprintk(fmt, args);
+       va_end(args);
This page took 0.020124 seconds and 4 git commands to generate.