]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Fix logic error in swapoff case: follow same handling of p and
authordelphij <delphij@FreeBSD.org>
Mon, 4 May 2020 05:49:11 +0000 (05:49 +0000)
committerdelphij <delphij@FreeBSD.org>
Mon, 4 May 2020 05:49:11 +0000 (05:49 +0000)
commit478dc13c0876c6308c77c01a47296e7b7f473952
treecc615607dcf740ae255fc51508257cc6890dfa33
parentc10a26d837f9f3c1bea3fbc9fe50b2a23f684c6f
 - Fix logic error in swapoff case: follow same handling of p and
   linelen in the swapon case.
 - Use strlcpy instead of strncpy.

MFC after: 1 week
sbin/swapon/swapon.c