sysstat/sysstat-5.0.5-append-msg.patch

14 lines
467 B
Diff
Raw Normal View History

--- 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);
}