mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
Fix typos
* src/android.c (android_set_task_name): * src/sfnt.c (main): Test if fd < 0, not fd < 1.
This commit is contained in:
parent
a90ba8d015
commit
1d07bbe106
@ -301,7 +301,7 @@ android_set_task_name (const char *name)
|
||||
sprintf (proc_name, "/proc/self/task/%ld/comm", (long) lwp);
|
||||
fd = open (proc_name, O_WRONLY | O_TRUNC);
|
||||
|
||||
if (fd < 1)
|
||||
if (fd < 0)
|
||||
goto failure;
|
||||
|
||||
length = strlen (name);
|
||||
|
@ -19185,7 +19185,7 @@ main (int argc, char **argv)
|
||||
|
||||
fd = open (argv[1], O_RDONLY);
|
||||
|
||||
if (fd < 1)
|
||||
if (fd < 0)
|
||||
return 1;
|
||||
|
||||
ttc = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user