123456789101112 |
- $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
- --- util-linux-2.12r.orig/misc-utils/namei.c 2004-12-23 00:03:39.000000000 +0100
- +++ util-linux-2.12r/misc-utils/namei.c 2008-10-16 11:48:55.000000000 +0200
- @@ -242,7 +242,7 @@ namei(char *file, int lev) {
- * call namei()
- */
-
- - bzero(sym, BUFSIZ);
- + memset(sym, 0, BUFSIZ);
- if(readlink(buf, sym, BUFSIZ) == -1){
- (void)printf(_(" ? problems reading symlink %s - %s (%d)\n"), buf, ERR);
- return;
|