Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 20:51:13 +0200 (CEST)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/39741: usr.sbin/pw/pw_user.c:726: warning: int format, long int arg (arg 8)
Message-ID:  <200206231851.g5NIpD5a012662@xkulesh.vol.cz>

next in thread | raw e-mail | index | archive | help

>Number:         39741
>Category:       bin
>Synopsis:       usr.sbin/pw/pw_user.c:726: warning: int format, long int arg (arg 8)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 12:00:10 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Obludarium
>Environment:
System: 4.6-STABLE FreeBSD 
src/usr.sbin/pw/pw_user.c,v 1.34.2.11 2002/03/12 19:55:36

>Description:
        compile of src/usr.sbin/pw/pw_user.c,v 1.34.2.11 2002/03/12 19:55:36:

	usr.sbin/pw/pw_user.c:726: warning: int format, long int arg (arg 8)
>How-To-Repeat:
	N/A
>Fix:

--- pw_user.c.ORIG      Tue Mar 12 23:07:08 2002
+++ pw_user.c   Sun Jun 23 20:42:51 2002
@@ -720,7 +720,7 @@
                errx(EX_NOUSER, "user '%s' disappeared during update", a_name->val);
        grp = GETGRGID(pwd->pw_gid);
-       pw_log(cnf, mode, W_USER, "%s(%ld):%s(%d):%s:%s:%s",
+       pw_log(cnf, mode, W_USER, "%s(%ld):%s(%ld):%s:%s:%s",
               pwd->pw_name, (long) pwd->pw_uid,
            grp ? grp->gr_name : "unknown", (long) (grp ? grp->gr_gid : -1),
               pwd->pw_gecos, pwd->pw_dir, pwd->pw_shell);


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206231851.g5NIpD5a012662>