svn commit: branches/uClibc-nptl/test/inet
carmelo at uclibc.org
carmelo at uclibc.org
Thu Jul 31 15:28:37 UTC 2008
Author: carmelo
Date: 2008-07-31 08:28:36 -0700 (Thu, 31 Jul 2008)
New Revision: 22999
Log:
Remove trailing whitespaces: two missing files
Modified:
branches/uClibc-nptl/test/inet/tst-ethers-line.c
branches/uClibc-nptl/test/inet/tst-ethers.c
Changeset:
Modified: branches/uClibc-nptl/test/inet/tst-ethers-line.c
===================================================================
--- branches/uClibc-nptl/test/inet/tst-ethers-line.c 2008-07-31 15:21:24 UTC (rev 22998)
+++ branches/uClibc-nptl/test/inet/tst-ethers-line.c 2008-07-31 15:28:36 UTC (rev 22999)
@@ -24,7 +24,7 @@
int fd, i;
const char *ethers;
struct stat statb;
-
+
if ((fd = open(ETHER_FILE_NAME, O_RDONLY)) == -1) {
perror ("Cannot open file");
exit(1);
@@ -35,14 +35,14 @@
exit(1);
}
ethers = mmap(NULL, statb.st_size, PROT_READ, MAP_SHARED, fd, 0);
-
+
if (ethers == MAP_FAILED) {
perror("File mapping failed");
exit(1);
- }
+ }
ether_line(ethers, &addr, hostname);
-
+
for (i = 0; i < 6; i++) {
printf("%02x", addr.ether_addr_octet[i]);
if (i < 5)
Modified: branches/uClibc-nptl/test/inet/tst-ethers.c
===================================================================
--- branches/uClibc-nptl/test/inet/tst-ethers.c 2008-07-31 15:21:24 UTC (rev 22998)
+++ branches/uClibc-nptl/test/inet/tst-ethers.c 2008-07-31 15:28:36 UTC (rev 22999)
@@ -14,7 +14,7 @@
char host[ETHER_LINE_LEN];
int i;
int res = ether_hostton("teeth", &addr);
-
+
if (res)
return 1;
More information about the uClibc-cvs
mailing list