summaryrefslogtreecommitdiff
path: root/sync.c
blob: e7aa445856e32443aec22ede46f659d916368737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "internal.h"

extern int
sync_main(int argc, char * * argv)
{
    if ( **(argv+1) == '-' ) {
	fprintf(stderr, "Usage: sync\nWrite all buffered filesystem blocks to disk.\n");
	exit(FALSE);
    }
	return sync();
}