summaryrefslogtreecommitdiff
path: root/sysutils/parkverbot/files/patch-src_parkverbot.c
blob: 04931af78b4f47427ed7ab9703d33c1076f3c409 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/parkverbot.c.orig	2022-04-10 12:51:33 UTC
+++ src/parkverbot.c
@@ -150,8 +150,8 @@ static bool pv_open_device(const char *path)
 	e->size = size;
 	e->sector_size = sector_size;
 	e->fd   = fd;
-	printf("Added %s (size %s)\n", e->path,
-	       HX_unit_size(buf, sizeof(buf), e->size, 1024, 0));
+	printf("Added %s (size %s, sector size %d bytes)\n", e->path,
+	       HX_unit_size(buf, sizeof(buf), e->size, 1024, 0), sector_size);
 	HXlist_add_tail(&pv_bdev_list, &e->anchor);
 	return true;
 }