mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
46 lines
1.1 KiB
Diff
46 lines
1.1 KiB
Diff
diff -Naur net-tools-1.60-orig/hostname.c net-tools-1.60/hostname.c
|
|
--- net-tools-1.60-orig/hostname.c 2001-04-08 10:04:23.000000000 -0700
|
|
+++ net-tools-1.60/hostname.c 2004-05-07 17:22:14.000000000 -0700
|
|
@@ -78,6 +78,7 @@
|
|
fprintf(stderr, _("%s: name too long\n"), program_name);
|
|
break;
|
|
default:
|
|
+ ;
|
|
}
|
|
exit(1);
|
|
}
|
|
@@ -98,6 +99,7 @@
|
|
fprintf(stderr, _("%s: name too long\n"), program_name);
|
|
break;
|
|
default:
|
|
+ ;
|
|
}
|
|
exit(1);
|
|
};
|
|
@@ -117,6 +119,7 @@
|
|
fprintf(stderr, _("%s: name too long\n"), program_name);
|
|
break;
|
|
default:
|
|
+ ;
|
|
}
|
|
exit(1);
|
|
};
|
|
@@ -174,6 +177,7 @@
|
|
printf("%s\n", hp->h_name);
|
|
break;
|
|
default:
|
|
+ ;
|
|
}
|
|
}
|
|
|
|
diff -Naur net-tools-1.60-orig/lib/inet_sr.c net-tools-1.60/lib/inet_sr.c
|
|
--- net-tools-1.60-orig/lib/inet_sr.c 2000-02-20 13:46:45.000000000 -0800
|
|
+++ net-tools-1.60/lib/inet_sr.c 2004-05-07 17:20:14.000000000 -0700
|
|
@@ -105,6 +105,7 @@
|
|
case 2:
|
|
isnet = 0; break;
|
|
default:
|
|
+ ;
|
|
}
|
|
|
|
/* Fill in the other fields. */
|