commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/fatfs fat.c fatfs.h


From: Jeff Bailey
Subject: hurd/fatfs fat.c fatfs.h
Date: Tue, 29 Jul 2003 10:58:45 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Jeff Bailey <address@hidden>    03/07/29 10:58:44

Modified files:
        fatfs          : fat.c fatfs.h 

Log message:
        Note to self.  Be *awake* when committing patches

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/fat.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/fatfs.h.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: hurd/fatfs/fat.c
diff -u hurd/fatfs/fat.c:1.2 hurd/fatfs/fat.c:1.3
--- hurd/fatfs/fat.c:1.2        Sun Jul 27 21:48:26 2003
+++ hurd/fatfs/fat.c    Tue Jul 29 10:58:44 2003
@@ -151,7 +151,7 @@
     error (1, 0, "Number of total sectors is zero");
 
   if (bytes_per_sector & (store->block_size - 1))
-    error (1, 0, "Block size of filesystem is not
+    error (1, 0, "Block size of filesystem is not"
           " a multiple of the block size of the store");
 
   if (read_word (sblock->reserved_sectors) == 0)
Index: hurd/fatfs/fatfs.h
diff -u hurd/fatfs/fatfs.h:1.3 hurd/fatfs/fatfs.h:1.4
--- hurd/fatfs/fatfs.h:1.3      Tue Jul 29 10:33:01 2003
+++ hurd/fatfs/fatfs.h  Tue Jul 29 10:58:44 2003
@@ -96,14 +96,14 @@
 
 
 #define LOG2_BLOCKS_PER_CLUSTER                                        \
- (log2_bytes_per_cluster - store->logs2_block_size)
+ (log2_bytes_per_cluster - store->log2_block_size)
 
 #define round_cluster(offs)                                    \
   ((((offs) + bytes_per_cluster - 1)                           \
     >> log2_bytes_per_cluster) << log2_bytes_per_cluster)
 
 #define FAT_FIRST_CLUSTER_BLOCK(cluster) \
-  (((cluster - 2) << LOG2_BLOCKS_PER_CLUSTER) +
+  (((cluster - 2) << LOG2_BLOCKS_PER_CLUSTER) +        \
    (first_data_byte >> store->log2_block_size))
 
 void drop_pager_softrefs (struct node *);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]