Changeset 3726

Show
Ignore:
Timestamp:
06/16/08 10:50:30 (7 months ago)
Author:
kelmo
Message:

Fix format string bugs.

Closes: #1999

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/trunk/ath_hal/ah_os.c

    r3710 r3726  
    449449                        if (strncmp(static_label, "ATH5K_", 6) == 0)  
    450450                                static_label += 6; 
    451                         snprintf(buf, buflen, static_label); 
     451                        snprintf(buf, buflen, "%s", static_label); 
    452452                        return AH_TRUE; 
    453453                } 
  • madwifi/trunk/net80211/ieee80211_linux.c

    r3710 r3726  
    381381#ifdef CONFIG_KMOD 
    382382        int rv; 
    383         rv = request_module(modname); 
     383        rv = request_module("%s", modname); 
    384384        if (rv < 0) 
    385385                printk(KERN_ERR "failed to automatically load module: %s; " \