End a btrfsctl err msg "-s requires an arg" with a newline.
PATCH 1/1 End a btrfsctl err msg "-s requires an arg" with a newline.
Signed-off-by Hu Tao <[email protected]>
--- btrfsctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
btrfsctl.c +1 -1
@@ -109,7 +109,7 @@ int main(int ac, char **av)for (i =1 ; i < ac; i++) {if (strcmp (av[i],"-s" ) ==0 ) {if (i +1 >= ac -1 ) { -fprintf (stderr,"-s requires an arg" ); +fprintf (stderr,"-s requires an arg\n" );print_usage (); } fullpath = av[i +1 ];
Signature · 1 line
1.6.3.1