]> git.pld-linux.org Git - packages/sysstat.git/commitdiff
- verbose login of missing file(from rawhide)
authorundefine <undefine@pld-linux.org>
Tue, 7 May 2002 15:33:50 +0000 (15:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sysstat-verbose.patch -> 1.1

sysstat-verbose.patch [new file with mode: 0644]

diff --git a/sysstat-verbose.patch b/sysstat-verbose.patch
new file mode 100644 (file)
index 0000000..5511372
--- /dev/null
@@ -0,0 +1,22 @@
+--- sysstat-4.0.1/sadc.c.verbose       Mon Aug 13 16:03:14 2001
++++ sysstat-4.0.1/sadc.c       Mon Aug 13 16:04:01 2001
+@@ -650,7 +650,7 @@
+           return;
+        }
+        if ((size != FILE_HDR_SIZE) || (file_hdr.sa_magic != SA_MAGIC)) {
+-          fprintf(stderr, _("Invalid system activity file\n"));
++          fprintf(stderr, _("Invalid system activity file: %s\n"), ofile);
+           exit(3);
+        }
+        /*
+--- sysstat-4.0.1/sar.c.verbose        Mon Aug 13 16:04:09 2001
++++ sysstat-4.0.1/sar.c        Mon Aug 13 16:04:32 2001
+@@ -2120,7 +2120,7 @@
+    /* Read sa data file header */
+    nb = read(ifd, &file_hdr, FILE_HDR_SIZE);
+    if ((nb != FILE_HDR_SIZE) || (file_hdr.sa_magic != SA_MAGIC)) {
+-      fprintf(stderr, _("Invalid system activity file\n"));
++      fprintf(stderr, _("Invalid system activity file: %s\n"), from_file);
+       exit(3);
+    }
This page took 0.046726 seconds and 4 git commands to generate.