svn commit: trunk/busybox/procps
vda at busybox.net
vda at busybox.net
Sun Feb 3 22:04:20 UTC 2008
Author: vda
Date: 2008-02-03 14:04:19 -0800 (Sun, 03 Feb 2008)
New Revision: 20938
Log:
ps: fixlet to disabled compat code
Modified:
trunk/busybox/procps/ps.c
Changeset:
Modified: trunk/busybox/procps/ps.c
===================================================================
--- trunk/busybox/procps/ps.c 2008-02-03 22:01:08 UTC (rev 20937)
+++ trunk/busybox/procps/ps.c 2008-02-03 22:04:19 UTC (rev 20938)
@@ -4,7 +4,7 @@
*
* Copyright (C) 1999-2004 by Erik Andersen <andersen at codepoet.org>
* Fix for SELinux Support:(c)2007 Hiroshi Shinji <shiroshi at my.email.ne.jp>
- (c)2007 Yuichi Nakamura <ynakam at hitachisoft.jp>
+ * (c)2007 Yuichi Nakamura <ynakam at hitachisoft.jp>
*
* Licensed under the GPL version 2, see the file LICENSE in this tarball.
*/
@@ -168,7 +168,7 @@
* as _right-justified_ IDs. Is it worth fixing? */
const char *user = get_cached_username(ps->uid);
if (strlen(user) <= size)
- safe_strncpy(buf, get_cached_username(ps->uid), size+1);
+ safe_strncpy(buf, user, size+1);
else
sprintf(buf, "%*u", size, (unsigned)ps->uid);
#endif
More information about the busybox-cvs
mailing list