mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
Display label properly.
This commit is contained in:
parent
3e6797bb69
commit
14efda08aa
@ -42,7 +42,7 @@ void mkswap_main(void)
|
||||
|
||||
if (CFG_TOYBOX_FREE) close(fd);
|
||||
|
||||
if (TT.L) sprintf(toybuf, ", LABEL=%s", label);
|
||||
if (TT.L) sprintf(toybuf, ", LABEL=%.15s", TT.L);
|
||||
else *toybuf = 0;
|
||||
printf("Swapspace size: %luk%s, UUID=%s\n",
|
||||
pages*(unsigned long)(pagesize/1024),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user