instead of using sprintf you should use 
#include <glib.h>
char* path = g_strconcat("/sys/class/net/", iface, "/device/rf_kill", NULL);
[...]
g_free(path);

----- Messaggio originale -----
Da: dragoran <[EMAIL PROTECTED]>
A: yelo_3 <[EMAIL PROTECTED]>
Cc: network manager <[email protected]>; [EMAIL PROTECTED]; Dan 
Williams <[EMAIL PROTECTED]>
Inviato: Domenica 24 giugno 2007, 22:15:30
Oggetto: Re: ipw srcipts for hal

here is a C implementation of the ipwWirelessCtl
the udi is hardcoded and I only implemented get for now (will add the rest 
tomorrow). It also uses all values from the README.
yelo_3 you have a typo in your patch (you used getrfkill instead of set ;) )


Bastien: the UDI that will get passed to the script would be that of the 
killswitch corret?

programm is attached... any comments?







      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to