diff options
author | Karel Zak | 2014-04-01 14:39:13 +0200 |
---|---|---|
committer | Karel Zak | 2014-04-01 14:39:13 +0200 |
commit | 412791a995890d3576906d86a39bbee6246eb01e (patch) | |
tree | d176100c5c21a7a5a176806347b16d15abb99453 /libfdisk/src/ask.c | |
parent | dmesg: don't use brow/yellow in output (diff) | |
download | kernel-qcow2-util-linux-412791a995890d3576906d86a39bbee6246eb01e.tar.gz kernel-qcow2-util-linux-412791a995890d3576906d86a39bbee6246eb01e.tar.xz kernel-qcow2-util-linux-412791a995890d3576906d86a39bbee6246eb01e.zip |
libfdisk: remove fdisk_colon()
It was unnecessary overkill to have colorized "foo:" prefix in fdisk
output.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/ask.c')
-rw-r--r-- | libfdisk/src/ask.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libfdisk/src/ask.c b/libfdisk/src/ask.c index 56594ef30..da5746c68 100644 --- a/libfdisk/src/ask.c +++ b/libfdisk/src/ask.c @@ -713,19 +713,6 @@ int fdisk_sinfo(struct fdisk_context *cxt, } -int fdisk_colon(struct fdisk_context *cxt, const char *fmt, ...) -{ - int rc; - va_list ap; - - assert(cxt); - va_start(ap, fmt); - rc = do_vprint(cxt, -1, FDISK_ASKTYPE_INFO, FDISK_INFO_COLON, fmt, ap); - va_end(ap); - return rc; - -} - int fdisk_warn(struct fdisk_context *cxt, const char *fmt, ...) { int rc; |