Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] trivial fix in jobs.c
- X-seq: zsh-workers 20510
- From: Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [PATCH] trivial fix in jobs.c
- Date: Fri, 22 Oct 2004 16:11:04 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
times() accepts pointer to struct not struct itself, does not it?
-andrey
Index: Src/jobs.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/jobs.c,v
retrieving revision 1.33
diff -u -r1.33 jobs.c
--- Src/jobs.c 8 Oct 2004 14:37:30 -0000 1.33
+++ Src/jobs.c 22 Oct 2004 11:56:16 -0000
@@ -266,7 +266,7 @@
#ifdef HAVE_GETRUSAGE
getrusage(RUSAGE_CHILDREN, &child_usage);
#else
- times(shtms);
+ times(&shtms);
#endif
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author