Skip to contentSkip to conversation

small typo

PATCH In review Filipe Almeida 2 participants 2 messages Mar 24, 2004 – Mar 25, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small typo

Here's the fix for a small typo in entd.c...

Regards,
Filipe Almeida

entd.c renamed from entd.c.old +1 -1
@@ -117,7 +117,7 @@
 		entd_set_comm("!");
 		if (result == 0)
 			entd_flush(super);
-		else if (result != EINTR)
+		else if (result != -EINTR)
 			/* some other error */
 			warning("nikita-3099", "Error: %i", result);
 	}
#1 lore raw

entd.c line 120

Quoted 12 lines · Filipe Almeida

Here's the fix for a small typo in entd.c...

Regards,
Filipe Almeida

entd.c renamed from entd.c.old +1 -1
@@ -117,7 +117,7 @@
 		entd_set_comm("!");
 		if (result == 0)
 			entd_flush(super);
-		else if (result != EINTR)
+		else if (result != -EINTR)

Thank you. Applied.

entd.c line 123

Quoted 3 lines
entd.c renamed from entd.c.old +0 -0
 			/* some other error */
 			warning("nikita-3099", "Error: %i", result);
 	}

Nikita.