diff options
author | kris <kris@FreeBSD.org> | 2000-07-11 23:49:24 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-11 23:49:24 +0000 |
commit | b7f030c2c0a5af0d5a92f76f2891ad65c40547a0 (patch) | |
tree | ecfcd136c3422b460f6446c8d5c5890d0742ebee /lib/libdisk | |
parent | 373a061e2e70b29cc0ab4d65ecdc9a127748c418 (diff) | |
download | FreeBSD-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.c | 2 |
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 |