}
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&LastCall, &tm));
- snprintf(tmpStr, sizeof tmpStr, "Host %s:%d down = %d, LastCall %s",
+ snprintf(tmpStr, sizeof tmpStr, "Host %s:%d down = %d, LastCall %s\n",
afs_inet_ntoa_r(host->host, hoststr),
ntohs(host->port), (host->hostFlags & VENUSDOWN),
tbuffer);
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&expTime, &tm));
snprintf(tmpStr, sizeof tmpStr,
- " user id=%d, name=%s, sl=%s till %s",
+ " user id=%d, name=%s, sl=%s till %s\n",
client->ViceId, h_UserName(client),
client->authClass ? "Authenticated"
: "Not authenticated",
- client->authClass ? tbuffer : "No Limit\n");
+ client->authClass ? tbuffer : "No Limit");
(void)STREAM_WRITE(tmpStr, strlen(tmpStr), 1, file);
snprintf(tmpStr, sizeof tmpStr, " CPS-%d is [",
client->CPS.prlist_len);
now = FT_ApproxTime();
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&now, &tm));
- snprintf(tmpStr, sizeof tmpStr, "List of active users at %s\n",
+ snprintf(tmpStr, sizeof tmpStr, "List of active users at %s\n\n",
tbuffer);
(void)STREAM_WRITE(tmpStr, strlen(tmpStr), 1, file);
h_Enumerate(h_PrintClient, (char *)file);
now = FT_ApproxTime();
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&now, &tm));
- snprintf(tmpStr, sizeof tmpStr, "List of active hosts at %s\n", tbuffer);
+ snprintf(tmpStr, sizeof tmpStr, "List of active hosts at %s\n\n", tbuffer);
(void)STREAM_WRITE(tmpStr, strlen(tmpStr), 1, file);
h_Enumerate(h_DumpHost, (char *)file);
STREAM_REALLYCLOSE(file);
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&now, &tm));
- ViceLog(0, ("Shutting down file server at %s", tbuffer));
+ ViceLog(0, ("Shutting down file server at %s\n", tbuffer));
if (dopanic)
ViceLog(0, ("ABNORMAL SHUTDOWN, see core file.\n"));
DFlush();
t = tp.tv_sec;
strftime(tbuffer, sizeof(tbuffer), "%a %b %d %T %Y",
localtime_r(&t, &tm));
- ViceLog(0, ("File Server started %s", tbuffer));
+ ViceLog(0, ("File Server started %s\n", tbuffer));
#if FS_STATS_DETAILED
afs_FullPerfStats.det.epoch.tv_sec = StartTime = tp.tv_sec;
#endif