sysstat/sysstat-5.0.5-append-msg.patch
ccb 82590b4156 merge Alan Cox's earlier 'filename patch' add patch for BZ 129314, more
verbose message about CPU mismatch between accounting file and running
    system
2004-10-04 19:31:42 +00:00

14 lines
467 B
Diff

--- sysstat-5.0.5/sadc.c.append-msg 2004-09-29 13:15:48.000000000 -0400
+++ sysstat-5.0.5/sadc.c 2004-09-29 13:21:27.000000000 -0400
@@ -747,7 +747,9 @@
create_sa_file(ofd, ofile, file_stats_size, flags);
return;
}
- fprintf(stderr, _("Cannot append data to that file\n"));
+ fprintf(stderr, _("Cannot append data to %s,"
+ " cpu count changed from %d to %d\n"),
+ ofile, file_hdr.sa_proc, cpu_nr);
exit(1);
}