chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix in_addr_prefix_intersect for 32bits
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index aaf109ea63e6f89d7c7edc8bfd7aea5f88d9034b..dbdb69270de7a7db7163397ff5df9a2e08f4ef17 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-1514,6
+1514,7
@@
bool fstype_is_network(const char *fstype) {
static const char table[] =
"cifs\0"
"smbfs\0"
+ "sshfs\0"
"ncpfs\0"
"ncp\0"
"nfs\0"
@@
-3612,9
+3613,6
@@
char *fstab_node_to_udev_node(const char *p) {
bool tty_is_vc(const char *tty) {
assert(tty);
- if (startswith(tty, "/dev/"))
- tty += 5;
-
return vtnr_from_tty(tty) >= 0;
}