Replace perror() with lwsl_warn()
Replace perror() with lwsl_warn()

Use the general logging function for printing error messages.
lukasz-skalski/libwebsockets,gameclosure/libwebsockets,dumganhar/libwebsockets,IOPOINT/libwebsockets,maws/libwebsockets,peeracle/libwebsockets,giovanni-liboni/libwebsockets,Chilledheart/libwebsockets,peeracle/libwebsockets,PureSwift/libwebsockets,mushroomgithub/libwebsockets,jmillan/libwebsockets,ralight/libwebsockets,JoakimSoderberg/libwebsockets,sanyaade-teachings/libwebsockets,sanyaade-teachings/libwebsockets,tn0502/libwebsockets,sartura/libwebsockets,kaostao/libwebsockets,GroundControl-Solutions/libwebsockets,giovanni-liboni/libwebsockets,tn0502/libwebsockets,RobertoMalatesta/libwebsockets,lukasz-skalski/libwebsockets,abligh/libwebsockets,GroundControl-Solutions/libwebsockets,IOPOINT/libwebsockets,sartura/libwebsockets,giovanni-liboni/libwebsockets,cambridgehackers/libwebsockets,sartura/libwebsockets,GroundControl-Solutions/libwebsockets,peeracle/libwebsockets,ralight/libwebsockets,jmillan/libwebsockets,pankona/libwebsockets,cambridgehackers/libwebsockets,canopy-project/libwebsockets-canopy,RobertoMalatesta/libwebsockets,JoakimSoderberg/libwebsockets,antmicro/libwebsockets,dumganhar/libwebsockets,peeracle/libwebsockets,GroundControl-Solutions/libwebsockets,antmicro/libwebsockets,lukasz-skalski/libwebsockets,wenqiwooo/syslog-libwebsockets,lukasz-skalski/libwebsockets,gameclosure/libwebsockets,Chilledheart/libwebsockets,antmicro/libwebsockets,PureSwift/libwebsockets,pankona/libwebsockets,ralight/libwebsockets,RobertoMalatesta/libwebsockets,RobertoMalatesta/libwebsockets,kaostao/libwebsockets,DaYeSquad/libwebsockets,SoapyMan/libwebsockets,DaYeSquad/libwebsockets,sartura/libwebsockets,Chilledheart/libwebsockets,sartura/libwebsockets,kaostao/libwebsockets,SoapyMan/libwebsockets,pombredanne/libwebsockets,abligh/libwebsockets,PureSwift/libwebsockets,gameclosure/libwebsockets,sartura/libwebsockets,dumganhar/libwebsockets,mushroomgithub/libwebsockets,mushroomgithub/libwebsockets,canopy-project/libwebsockets-canopy,pombredanne/libwebsockets,sartura/libwebsockets,maws/libwebsockets,SoapyMan/libwebsockets,DaYeSquad/libwebsockets,DaYeSquad/libwebsockets,tn0502/libwebsockets,turbulenz/libwebsockets,SoapyMan/libwebsockets,kaostao/libwebsockets,sanyaade-teachings/libwebsockets,abligh/libwebsockets,peeracle/libwebsockets,IOPOINT/libwebsockets,PureSwift/libwebsockets,pankona/libwebsockets,ralight/libwebsockets,tn0502/libwebsockets,gameclosure/libwebsockets,mushroomgithub/libwebsockets,dumganhar/libwebsockets,SoapyMan/libwebsockets,sanyaade-teachings/libwebsockets,DaYeSquad/libwebsockets,turbulenz/libwebsockets,maws/libwebsockets,ralight/libwebsockets,JoakimSoderberg/libwebsockets,PureSwift/libwebsockets,jmillan/libwebsockets,canopy-project/libwebsockets-canopy,giovanni-liboni/libwebsockets,wenqiwooo/syslog-libwebsockets,turbulenz/libwebsockets,pankona/libwebsockets,pombredanne/libwebsockets,cambridgehackers/libwebsockets,jmillan/libwebsockets,Chilledheart/libwebsockets,antmicro/libwebsockets,GroundControl-Solutions/libwebsockets,pombredanne/libwebsockets,maws/libwebsockets,wenqiwooo/syslog-libwebsockets,cambridgehackers/libwebsockets,abligh/libwebsockets,JoakimSoderberg/libwebsockets,wenqiwooo/syslog-libwebsockets,dumganhar/libwebsockets