patch-misc-utils_logger_c 404 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- util-linux-2.12r.orig/misc-utils/logger.c 2004-09-06 23:13:49.000000000 +0200
  3. +++ util-linux-2.12r/misc-utils/logger.c 2008-10-16 11:47:36.000000000 +0200
  4. @@ -198,7 +198,7 @@ main(int argc, char **argv) {
  5. } else {
  6. if (p != buf)
  7. *p++ = ' ';
  8. - bcopy(*argv++, p, len);
  9. + memcpy(p, *argv++, len);
  10. *(p += len) = '\0';
  11. }
  12. }