diff options
-rw-r--r-- | lib/ismounted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ismounted.c b/lib/ismounted.c index 8a882b27e..135ac29d6 100644 --- a/lib/ismounted.c +++ b/lib/ismounted.c @@ -318,7 +318,7 @@ int check_mount_point(const char *device, int *mount_flags, if (is_swap_device(device)) { *mount_flags = MF_MOUNTED | MF_SWAP; if (mtpt && mtlen) - strncpy(mtpt, "<swap>", mtlen); + strncpy(mtpt, "[SWAP]", mtlen); } else { #ifdef HAVE_MNTENT_H retval = check_mntent(device, mount_flags, mtpt, mtlen); |