On Sunday 17 August 2008 16:55:16 Malek wrote:
> This new applet adds the rngd daemon to Busybox like rng-tools
> 
> Thanks
> 
> Malek
> 

Hi,
please fix ioctl_or_perror_and_die as strerror(errno) and \n are not needed.

-       ioctl_or_perror_and_die(random_fd, RNDADDENTROPY, entropy, 
"RNDADDENTROPY failed: %s\n",
-                       strerror(errno));
+       ioctl_or_perror_and_die(random_fd, RNDADDENTROPY, entropy, 
"RNDADDENTROPY failed: %s");

-       ioctl_or_perror_and_die(random_fd, RNDGETENTCNT, &ent_count, 
"RNDGETENTCNT failed: %s\n",
-                       strerror(errno));
+       ioctl_or_perror_and_die(random_fd, RNDGETENTCNT, &ent_count, 
"RNDGETENTCNT failed: %s");


Ciao,
Tito
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to