summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-11 23:49:24 +0000
committerkris <kris@FreeBSD.org>2000-07-11 23:49:24 +0000
commitb7f030c2c0a5af0d5a92f76f2891ad65c40547a0 (patch)
treeecfcd136c3422b460f6446c8d5c5890d0742ebee /lib/libdisk
parent373a061e2e70b29cc0ab4d65ecdc9a127748c418 (diff)
downloadFreeBSD-src-b7f030c2c0a5af0d5a92f76f2891ad65c40547a0.zip
FreeBSD-src-b7f030c2c0a5af0d5a92f76f2891ad65c40547a0.tar.gz
Don't call printf without a format string.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/tst01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c
index 1ad9421..6426f64 100644
--- a/lib/libdisk/tst01.c
+++ b/lib/libdisk/tst01.c
@@ -153,7 +153,7 @@ main(int argc, char **argv)
free(q);
q = p = readline(myprompt);
#else
- printf(myprompt);
+ printf("%s", myprompt);
fflush(stdout);
q = p = fgets(input,sizeof(input),stdin);
#endif
OpenPOWER on IntegriCloud