diff options
author | Karel Zak | 2012-01-17 15:35:10 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-17 15:35:10 +0100 |
commit | 9206b23863b83602af65df6e3b36c16ef82777c0 (patch) | |
tree | 4afc08c02d02c76526bb1ca8e0abb4cb52e9bd8f /disk-utils/mkswap.c | |
parent | mount: avoid canonicalizing pseudofs paths (diff) | |
download | kernel-qcow2-util-linux-9206b23863b83602af65df6e3b36c16ef82777c0.tar.gz kernel-qcow2-util-linux-9206b23863b83602af65df6e3b36c16ef82777c0.tar.xz kernel-qcow2-util-linux-9206b23863b83602af65df6e3b36c16ef82777c0.zip |
test: refresh build-sys tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/mkswap.c')
-rw-r--r-- | disk-utils/mkswap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c index 5c2869772..ae5e58937 100644 --- a/disk-utils/mkswap.c +++ b/disk-utils/mkswap.c @@ -389,8 +389,9 @@ wipe_device(int fd, const char *devname, int force, int is_blkdev) char *type = NULL; int whole = 0; int zap = 1; +#ifdef HAVE_LIBBLKID blkid_probe pr = NULL; - +#endif if (!force) { if (lseek(fd, 0, SEEK_SET) != 0) errx(EXIT_FAILURE, _("unable to rewind swap-device")); |