diff options
author | 2005-02-23 20:24:57 +0000 | |
---|---|---|
committer | 2005-02-23 20:24:57 +0000 | |
commit | 4d20d30df7479b40178c99a55d45dd5ca99507b6 (patch) | |
tree | bf649bae572e9316a424846d0645a74aff43dd0e /lib | |
parent | add all supported regulation domains. the forced COUNTRYCODE in ar5xxx (diff) | |
download | wireguard-openbsd-4d20d30df7479b40178c99a55d45dd5ca99507b6.tar.xz wireguard-openbsd-4d20d30df7479b40178c99a55d45dd5ca99507b6.zip |
use a string format argument instead of nothing in the example
ok otto@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 28bdf2ee3bb..896803c3353 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdirentries.2,v 1.17 2004/10/03 00:11:26 jmc Exp $ +.\" $OpenBSD: getdirentries.2,v 1.18 2005/02/23 20:24:57 robert Exp $ .\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -169,7 +169,7 @@ while ((nbytes = getdirentries(fd, buf, bufsize, &base)) > 0) { cp = buf; while (cp < ebuf) { dp = (struct dirent *)cp; - printf("%\en", dp->d_name); + printf("%s\en", dp->d_name); cp += dp->d_reclen; } } |