Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
systemd-mini.20455
6002-basic-unit-name-adjust-comments.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6002-basic-unit-name-adjust-comments.patch of Package systemd-mini.20455
From 134e15218f8f3d69dd430c703d5c640939fe6005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> Date: Wed, 23 Jun 2021 11:52:56 +0200 Subject: [PATCH 6002/6002] basic/unit-name: adjust comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We already checked for "too long" right aboveā¦ --- src/basic/unit-name.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic/unit-name.c b/src/basic/unit-name.c index 7deb9881c5..20bd00dd83 100644 --- a/src/basic/unit-name.c +++ b/src/basic/unit-name.c @@ -528,7 +528,7 @@ int unit_name_from_path(const char *path, const char *suffix, char **ret) { if (strlen(s) >= UNIT_NAME_MAX) /* Return a slightly more descriptive error for this specific condition */ return -ENAMETOOLONG; - /* Refuse this if this got too long or for some other reason didn't result in a valid name */ + /* Refuse if this for some other reason didn't result in a valid name */ if (!unit_name_is_valid(s, UNIT_NAME_PLAIN)) return -EINVAL; @@ -562,7 +562,7 @@ int unit_name_from_path_instance(const char *prefix, const char *path, const cha if (strlen(s) >= UNIT_NAME_MAX) /* Return a slightly more descriptive error for this specific condition */ return -ENAMETOOLONG; - /* Refuse this if this got too long or for some other reason didn't result in a valid name */ + /* Refuse if this for some other reason didn't result in a valid name */ if (!unit_name_is_valid(s, UNIT_NAME_INSTANCE)) return -EINVAL; -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor