Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / gt-itm / patches / patch-sgb2alt.c
blob7ec9fa962c75fc3f28acd292f2f39c79efbd0058
1 $NetBSD$
3 --- sgb2alt.c.orig 2012-12-25 18:50:46.000000000 +0000
4 +++ sgb2alt.c
5 @@ -36,14 +36,14 @@ main(argc,argv)
7 if (argc != 3) {
8 printf("sgb2old <sgfile> <altfile>\n\n");
9 - return;
10 + return 1;
12 fout = fopen(argv[2],"w");
14 g = restore_graph(argv[1]);
15 if (g == NULL) {
16 printf("%s does not contain a correct SGB graph\n",argv[1]);
17 - return;
18 + return 1;
21 fprintf(fout,"GRAPH (#nodes #edges id uu vv ww xx yy zz):\n");