summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-30 18:12:26 +0000
committerbde <bde@FreeBSD.org>1998-06-30 18:12:26 +0000
commit62108cc29b17735716207abff6d69af34428146a (patch)
tree13d29989efd5cd5c34da1989789a4ca79db6bd53 /contrib
parent8c3de9bd74c007551dc31617da0d7456520b2ed7 (diff)
downloadFreeBSD-src-62108cc29b17735716207abff6d69af34428146a.zip
FreeBSD-src-62108cc29b17735716207abff6d69af34428146a.tar.gz
Fixed printf format errors.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tcl/unix/tclUnixFCmd.c2
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);
OpenPOWER on IntegriCloud