Commit Graph

5 Commits

Author SHA1 Message Date
Karel Zak 3836cd2d21 lib: add missing headers to .c files
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-10-06 15:03:45 +02:00
Rosen Penev ad296391f9
[clang-tidy] fix wrong *cmp usage
Found with bugprone-suspicious-string-compare

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-20 13:21:00 -07:00
Benno Schulenberg 1c75610ff8 textual: "ambivalent" applies to intentions, "ambiguous" to results
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-10-01 09:37:03 +02:00
Karel Zak 05dd1d1d61 lib/swapprober: add missing header file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-09-22 14:26:54 +02:00
Karel Zak 18b3e5495b swapon: split swapon-common.c
swapon    - requires libmount and libblkid
 swapoff   - requires libmount
 swaplabel - requires libblkid

This patch add lib/swapprober.c with blkid stuff for swap. It allows
to use and link libblkid only when necessary.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-09-22 13:16:25 +02:00