diff options
author | Karel Zak | 2009-03-12 14:17:59 +0100 |
---|---|---|
committer | Karel Zak | 2009-03-12 14:17:59 +0100 |
commit | 17c02484470c80ea97cc194d11d111cc1ca5b8b4 (patch) | |
tree | c5ba1dcabcb80975c393bc8e00fd6925462ef060 /include | |
parent | lib: pttype: fix DOS detection (diff) | |
download | kernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.tar.gz kernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.tar.xz kernel-qcow2-util-linux-17c02484470c80ea97cc194d11d111cc1ca5b8b4.zip |
lib: pttype - extend the API to work with file descriptors
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/pttype.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pttype.h b/include/pttype.h index d6fe8128c..d345501c0 100644 --- a/include/pttype.h +++ b/include/pttype.h @@ -6,5 +6,6 @@ * libdisk from xfsprogs to util-linux-ng. */ extern const char *get_pt_type(const char *device); +extern const char *get_pt_type_pt(int fd); #endif |