diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 18:12:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 18:12:26 +0000 |
commit | 62108cc29b17735716207abff6d69af34428146a (patch) | |
tree | 13d29989efd5cd5c34da1989789a4ca79db6bd53 /contrib | |
parent | 8c3de9bd74c007551dc31617da0d7456520b2ed7 (diff) | |
download | FreeBSD-src-62108cc29b17735716207abff6d69af34428146a.zip FreeBSD-src-62108cc29b17735716207abff6d69af34428146a.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tcl/unix/tclUnixFCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcl/unix/tclUnixFCmd.c b/contrib/tcl/unix/tclUnixFCmd.c index 3ec1a69..fc030f0 100644 --- a/contrib/tcl/unix/tclUnixFCmd.c +++ b/contrib/tcl/unix/tclUnixFCmd.c @@ -1028,7 +1028,7 @@ GetPermissionsAttribute(interp, objIndex, fileName, attributePtrPtr) return TCL_ERROR; } - sprintf(returnString, "%0#5lo", (statBuf.st_mode & 0x00007FFF)); + sprintf(returnString, "%0#5o", (int)(statBuf.st_mode & 0x00007FFF)); *attributePtrPtr = Tcl_NewStringObj(returnString, -1); |