blob: ba78aa01b4fa83264c3b9edd414561dc1aea2f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- util-linux-ng-2.15.orig/login-utils/ttymsg.c 2009-02-24 16:39:30.000000000 +0100
+++ util-linux-ng-2.15/login-utils/ttymsg.c 2009-06-22 22:44:07.000000000 +0200
@@ -111,7 +111,7 @@ ttymsg(struct iovec *iov, int iovcnt, ch
if (wret >= 0) {
left -= wret;
if (iov != localiov) {
- bcopy(iov, localiov,
+ memcpy(localiov, iov,
iovcnt * sizeof(struct iovec));
iov = localiov;
}
|