Commits

Anonymous committed eee2167

Removing the deprecated bzero() and changing the style to mine.

  • Participants
  • Parent commits 6700077

Comments (0)

Files changed (1)

 	time_t tim;
 	struct tm *timtm;
 
-	bzero(buf, sizeof(buf));
+	memset(buf, 0, sizeof(buf));
 	settz(tzname);
 	tim = time(NULL);
 	timtm = localtime(&tim);
 		tmutc = mktimes("%H:%M", tzutc);
 		tmbln = mktimes("KW %W %a %d %b %H:%M %Z %Y", tzberlin);
 
-		status = smprintf("[L: %s|A: %s|U: %s|%s]",
+		status = smprintf("L:%s A:%s U:%s %s]",
 				avgs, tmar, tmutc, tmbln);
 		setstatus(status);
 		free(avgs);